From ea905e81ae91ee1e2126bd79375cb7100afb9739 Mon Sep 17 00:00:00 2001 From: Entarno54 Date: Mon, 12 May 2025 20:42:33 +0700 Subject: [PATCH] Added basic bot info to !help --- commands/basic.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/commands/basic.py b/commands/basic.py index 5ab2561..027b267 100644 --- a/commands/basic.py +++ b/commands/basic.py @@ -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):