added: base files

This commit is contained in:
Alex D
2023-04-23 18:38:54 +03:00
parent 23f15563f9
commit 6e93ae616e
6 changed files with 145 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import disnake
from disnake.ext import commands
class help1(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.slash_command()
async def commands(self, ctx):
embed = disnake.Embed(title="Помощь по командам", description="Вот список всех моих команд и их описания:")
embed.add_field(name="$help", value="Показывает список всех доступных команд.")
embed.add_field(name="$ping", value="Проверка работоспособности бота.")
embed.add_field(name="$coins", value="Игра Орел и Решка.")
embed.add_field(name="$mute", value="Выдает мут участнику на определенное время.")
await ctx.send(embed=embed)
def setup(bot):
bot.add_cog(help1(bot))