diff --git a/commands/admin/ctx_add_self_roles.js b/commands/admin/ctx_add_self_roles.js index 0777a5e..041ebc1 100644 --- a/commands/admin/ctx_add_self_roles.js +++ b/commands/admin/ctx_add_self_roles.js @@ -2,6 +2,7 @@ import { Message } from '../../database.js'; import { ApplicationCommandType, ContextMenuCommandBuilder } from 'discord.js'; export const data = new ContextMenuCommandBuilder() + .setDMPermission(false) .setName('Register self roles') .setType(ApplicationCommandType.Message); export async function execute(interaction) { diff --git a/commands/admin/slash_self_roles.js b/commands/admin/slash_self_roles.js index 1438f40..8a28402 100644 --- a/commands/admin/slash_self_roles.js +++ b/commands/admin/slash_self_roles.js @@ -113,6 +113,7 @@ const addSelfRoles = async (interaction) => { export const data = new SlashCommandBuilder() .setName('self_roles') + .setDMPermission(false) .setDescription('Manages reactions for self roles.') .addSubcommand(subcommand => subcommand