Help command additions

This commit is contained in:
= 2025-04-06 11:11:51 +07:00
parent 9b83c8a009
commit 27161b1c57

View File

@ -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):