Skip to content
← Back to Community
My cog Command won't work
Profile icon

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 =

favatar = nextcord.Embed(title=f"{}'s avatar", color=member.color) favatar.set_footer(text=f"Requested by {}#{}") favatar.set_image(url='{}'.format(member.avatar_url)) await ctx.send(embed = favatar)

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

Profile icon
Profile icon