diff --git a/src/structure/interfaces/commands/SlashCommand.js b/src/structure/interfaces/commands/SlashCommand.js index 7743a38..66936d4 100644 --- a/src/structure/interfaces/commands/SlashCommand.js +++ b/src/structure/interfaces/commands/SlashCommand.js @@ -44,7 +44,9 @@ class SlashCommand extends Command { description: this.description, type: CommandsConstant.ApplicationCommandTypes[this.type], options: this.options.map((o) => o.shape), - defaultPermission: this.defaultPermission + // defaultPermission: this.defaultPermission, + // eslint-disable-next-line camelcase + dm_permission: !this.guildOnly }; }