E
E
error 4042021-07-09 16:14:54
Bots
error 404, 2021-07-09 16:14:54

How to find out how many commands you have in the bot?

How to find out how many commands you have in a python discord bot?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Forzy11, 2022-01-23
@Forzy11

@bot.command()
async def help(ctx):
emb = discord.Embed(title=f'List of commands; ({len(bot.commands)})', colour=discord.Color.from_rgb(160, 34, 240))
await ctx.send(embed=emb)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question