Allowing multiple arguments for avatar search

pull/8/head
sgoudham 4 years ago
parent a4d834719f
commit 78cc315a8c

@ -586,7 +586,7 @@ class Info(Cog):
@command(name="avatar") @command(name="avatar")
@cooldown(1, 1, BucketType.user) @cooldown(1, 1, BucketType.user)
@bot_has_permissions(embed_links=True) @bot_has_permissions(embed_links=True)
async def get_user_avatar(self, ctx, member: Optional[Member] = None): async def get_user_avatar(self, ctx, *, member: Optional[Member] = None):
""" """
Displaying Member's Avatar Displaying Member's Avatar
Member can be mentioned and their avatar will be displayed Member can be mentioned and their avatar will be displayed

Loading…
Cancel
Save