Help command additions
This commit is contained in:
parent
27161b1c57
commit
4cf4da3633
2
main.py
2
main.py
@ -47,7 +47,7 @@ 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.commands:
|
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"}")
|
embed.add_field(name=command.name, value=f"Arguments: {command.usage} \nDescription: {command.description}")
|
||||||
await ctx.reply(embed=embed)
|
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")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user