From 64545f7fe0f648d1cf27d9b49f75dec507ecf68b Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh <102361830+SeaswimmerTheFsh@users.noreply.github.com> Date: Thu, 22 Jun 2023 20:01:04 -0400 Subject: [PATCH] patched avatar command --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index b95e0f5..35aad6f 100644 --- a/main.py +++ b/main.py @@ -44,8 +44,8 @@ class Client(commands.CommandsClient): 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