#SlashCommandGroup subcommand description

1 messages · Page 1 of 1 (latest)

peak hemlock
#

How can I set the description of a subcommand in a SlashCommandGroup?

I know how to set the description for the whole CommandGroup but not how to set for individual commands.

Code in a cog

admin = SlashCommandGroup("admin", "Admin commands!")

@admin.command()
async def givecoins(self, ctx, user: discord.Member, amount: int):
keen ingot
peak hemlock
#

Idk why I didn't just try

keen ingot
prime anvilBOT
candid moatBOT
#

This thread was archived by the user that opened it.

#

This thread was archived by the user that opened it.