#Why not the correct numeric code?

1 messages · Page 1 of 1 (latest)

celest gust
#

I need to get the message id in this parameter, but for some reason, with the int parameter type, I cannot activate the command. I tried via commnads.Param(max_length=25) but without success.

Works if the parameter type is str, but when it is str I can't check if the specified parameter is not a word

hasty cargo
#

-d commands.LargeInt

radiant tinselBOT
#

class disnake.ext.commands.LargeInt```
Type for large integers in slash commands.

This is a class which inherits from [`int`](https://docs.python.org/3/library/functions.html#int "(in Python v3.11)") to allow large numbers in slash commands, meant to be used only for annotations.
hasty cargo
#

ids are generally above discord slash commands' integer limit