Ask coding questions

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

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.

async def avatar(ctx, member: nextcord.Member=None):
if member is None:
member =

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