Add Info Cog #11

Merged
cswimr merged 19 commits from info into master 2023-07-01 11:36:31 -04:00
Showing only changes of commit 64545f7fe0 - Show all commits

View file

@ -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