Added basic bot info to !help

This commit is contained in:
Entarno54 2025-05-12 20:42:33 +07:00
parent 8c7d04241d
commit ea905e81ae

View File

@ -7,10 +7,16 @@ class Main(commands.Cog):
@commands.command()
async def help(self, ctx: nextcord.Message):
embed = nextcord.Embed(title="Help")
embeds = [
nextcord.Embed(title="Help"),
nextcord.Embed(title="Info")
]
for command in self.client.commands:
embed.add_field(name=command.name, value=f"Arguments: {command.usage} \nDescription: {command.description}")
await ctx.reply(embed=embed)
embeds[0].add_field(name=command.name, value=f"Arguments: {command.usage} \nDescription: {command.description}")
embeds[1].set_author(name="Entar", url="https://git.squog.ru", icon_url="https://git.squog.ru/entar/SquogBot/raw/branch/master/images/Kidnap1.jpg")
embeds[1].description = "SquogBot made by Entardev"
await ctx.reply(embeds=embeds)
@commands.command(description="Check how fast the bot will reply to you.")
async def ping(self, ctx: nextcord.Message):