diff --git a/discord/commands/options.py b/discord/commands/options.py index d2d228126a..c3bfafe888 100644 --- a/discord/commands/options.py +++ b/discord/commands/options.py @@ -369,6 +369,9 @@ def __init__( @staticmethod def _strip_none_type(input_type): + if isinstance(input_type, SlashCommandOptionType): + return input_type + if input_type is type(None): raise TypeError("Option type cannot be only NoneType")