Make bot send different embeds discord.py

You should make the embeds inside the help command itself like this.


@bot.command(pass_context=True)
async def help(ctx, menu_type: str = None):
    if menu_type == 'Music':
        embed = discord.Embed(title="Music", description="Something", color=0x00ff00)
    elif menu_type == "Admin":
        embed = discord.Embed(title="Admin", description="Something", color=0x00ff00)
    else:
        embed = discord.Embed(title="Main", description="Something", color=0x00ff00)

    await ctx.send(embed=embed)

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top