Currently, when creating params for a command, the @Param's type field doesn't support the channel type, despite it being a possible option type with the official Discord API.
This pull request adds the CHANNEL type to ParamType, updates the NonParamOption type and added a case for it when converting to Discord API types.
This was unfortunately only mentioned in the docs in the definitions list, and I didn't see it. I don't exactly understand why it has to be a different decorator, but I'll use that. Thanks.
Currently, when creating params for a command, the
@Param
'stype
field doesn't support the channel type, despite it being a possible option type with the official Discord API.This pull request adds the
CHANNEL
type toParamType
, updates theNonParamOption
type and added a case for it when converting to Discord API types.