#description for options

1 messages · Page 1 of 1 (latest)

sharp carbon
#

smth like this

olive agate
#

typehint the parameter with discord.Option([data type], [description])

sharp carbon
olive agate
#

not in brackets

#

and the data type is str, int, bool, etc

#

typehinting is var: type

sharp carbon
# olive agate not in brackets

like this?

async def clearall(ctx, target: discord.Member=None):
    discord.Option(str, "Delete all messages from this member")
olive agate