diff --git a/handlers/slashCommand.js b/handlers/slashCommand.js index 09a59a8..a816dc7 100644 --- a/handlers/slashCommand.js +++ b/handlers/slashCommand.js @@ -24,7 +24,9 @@ module.exports = async (client) => { slashCommands.push({ name: slashCommand.name, description: slashCommand.description, - type: slashCommand.type + type: slashCommand.type, + options: slashCommand.options ? slashCommand.options : null, + default_member_permissions: slashCommand.default_member_permissions ? PermissionsBitField.resolve(slashCommand.default_member_permissions).toString() : null, }); if (slashCommand.name) {