last code from server

This commit is contained in:
Alex D
2023-04-25 04:47:00 +03:00
parent cb8fb7d359
commit 5cca85686e
12 changed files with 31 additions and 24 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ class AvatarCommand(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.slash_command(name="avatar")
@commands.slash_command(name="аватар", description="Показывает аватар указанного пользователя")
async def avatar(self, ctx: disnake.AppCommandInteraction, member: disnake.Member = None):
if not member:
member = ctx.author