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
+2 -2
View File
@@ -6,12 +6,12 @@ class AboutCommand(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.slash_command(name="about")
@commands.slash_command(name="бот", description="Показывает информацию о боте и их разработчиках")
async def about(self, ctx: disnake.AppCommandInteraction):
embed = disnake.Embed(title='О боте', description='Многофункциональный бот.', color=0x00ff00)
embed.set_author(name='Hyper Tech')
embed.add_field(name='Автор', value='<@795901895666434070> а так же <@662994219794956298>\n')
embed.add_field(name='Версия', value='v1.01.')
embed.add_field(name='Версия', value='v1.02.')
embed.add_field(name='Дата выпуска', value='23.04.2023')
await ctx.send(embed=embed)