Skip to content

Commit

Permalink
patched avatar command
Browse files Browse the repository at this point in the history
  • Loading branch information
cswimr committed Jun 23, 2023
1 parent 3e8fc0a commit 64545f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ async def ping(self, ctx: commands.Context):
print(f'Ping {int(ping)}ms')

@commands.command()
async def avatar(self, ctx: commands.Context, target: revolt.User):
# This command retrieves a user's avatar. CURRENTLY BROKEN - NOTE: Move to cog
async def avatar(self, ctx: commands.Context, target: commands.UserConverter):
# This command retrieves a user's avatar. - NOTE: Move to cog
if not isinstance(target, revolt.User):
await ctx.message.reply("Please provide a user argument!")
return
Expand Down

0 comments on commit 64545f7

Please sign in to comment.