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):
|
async def help(ctx: nextcord.Message):
|
||||||
embed = nextcord.Embed(title="Help")
|
embed = nextcord.Embed(title="Help")
|
||||||
print(client.commands)
|
print(client.commands)
|
||||||
for command in client.get_application_commands():
|
for command in client.commands:
|
||||||
print(command)
|
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")
|
@client.command(description="Check how fast the bot will reply to you.", help="evil")
|
||||||
async def ping(ctx: nextcord.Message):
|
async def ping(ctx: nextcord.Message):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user