Ask coding questions

← Back to all posts
My cog Command won't work
CarsonJohnson

So I recently added cogs to my discord bot, and for some reason, it won't send the command when I message it and it won't send an error, I'd like to know if you could help me out if I'm doing something wrong.

Code:
@commands.command()
async def avatar(ctx, member: nextcord.Member=None):
if member is None:
member = ctx.author

also would like to know if cogs are even worth it, and if so, why?

Voters
CarsonJohnson