From 27161b1c57400de7af0a06caa3f32e0ec8ff8d8a Mon Sep 17 00:00:00 2001 From: = <=> Date: Sun, 6 Apr 2025 11:11:51 +0700 Subject: [PATCH] Help command additions --- main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 6d9ec54..34dca10 100644 --- a/main.py +++ b/main.py @@ -46,8 +46,9 @@ SquogDownload = yt_dlp.YoutubeDL(SquogVideo) async def help(ctx: nextcord.Message): embed = nextcord.Embed(title="Help") print(client.commands) - for command in client.get_application_commands(): - print(command) + for command in client.commands: + embed.add_field(name=command.name, value=f"Arguments: {command.usage or "no arguments provided"} \nDescription: {command.description or "No command description"}") + await ctx.reply(embed=embed) @client.command(description="Check how fast the bot will reply to you.", help="evil") async def ping(ctx: nextcord.Message):