Help command additions
This commit is contained in:
parent
9b83c8a009
commit
27161b1c57
5
main.py
5
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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user