Add Info Cog #11
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -44,8 +44,8 @@ class Client(commands.CommandsClient):
|
||||||
print(f'Ping {int(ping)}ms')
|
print(f'Ping {int(ping)}ms')
|
||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
async def avatar(self, ctx: commands.Context, target: revolt.User):
|
async def avatar(self, ctx: commands.Context, target: commands.UserConverter):
|
||||||
# This command retrieves a user's avatar. CURRENTLY BROKEN - NOTE: Move to cog
|
# This command retrieves a user's avatar. - NOTE: Move to cog
|
||||||
if not isinstance(target, revolt.User):
|
if not isinstance(target, revolt.User):
|
||||||
await ctx.message.reply("Please provide a user argument!")
|
await ctx.message.reply("Please provide a user argument!")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue