cool edited files

This commit is contained in:
Alex D
2023-04-23 19:01:06 +03:00
parent 6e93ae616e
commit 98edc16962
8 changed files with 304 additions and 28 deletions
+4 -3
View File
@@ -1,11 +1,11 @@
import disnake
from disnake.ext import commands
class help1(commands.Cog):
class Help1(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.slash_command()
async def commands(self, ctx):
embed = disnake.Embed(title="Помощь по командам", description="Вот список всех моих команд и их описания:")
@@ -15,5 +15,6 @@ class help1(commands.Cog):
embed.add_field(name="$mute", value="Выдает мут участнику на определенное время.")
await ctx.send(embed=embed)
def setup(bot):
bot.add_cog(help1(bot))
bot.add_cog(Help1(bot))