diff --git a/src/structures/ApplicationCommand.js b/src/structures/ApplicationCommand.js index b3444406c..9b7be236a 100644 --- a/src/structures/ApplicationCommand.js +++ b/src/structures/ApplicationCommand.js @@ -212,7 +212,7 @@ class ApplicationCommand extends Base { static transformOption(option, received) { const stringType = typeof option.type === 'string' ? option.type : ApplicationCommandOptionTypes[option.type]; return { - type: typeof option.type === 'number' && !received ? option.type : stringType, + type: typeof option.type === 'number' && !received ? option.type : ApplicationCommandOptionTypes[option.type], name: option.name, description: option.description, required: