File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/main/java/net/javadiscord/javabot/systems/configuration Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 11package net .javadiscord .javabot .systems .configuration ;
22
33import com .dynxsty .dih4jda .interactions .commands .SlashCommand ;
4- import net .dv8tion .jda .api .interactions .commands .DefaultMemberPermissions ;
54import net .dv8tion .jda .api .interactions .commands .build .Commands ;
65import net .javadiscord .javabot .Bot ;
76import net .javadiscord .javabot .systems .configuration .subcommands .ExportConfigSubcommand ;
@@ -18,10 +17,7 @@ public class ConfigCommand extends SlashCommand implements CommandModerationPerm
1817 * The constructor of this class, which sets the corresponding {@link net.dv8tion.jda.api.interactions.commands.build.SlashCommandData}.
1918 */
2019 public ConfigCommand () {
21- setModerationSlashCommandData (Commands .slash ("config" , "Administrative Commands for managing the bot's configuration." )
22- .setDefaultPermissions (DefaultMemberPermissions .DISABLED )
23- .setGuildOnly (true )
24- );
20+ setModerationSlashCommandData (Commands .slash ("config" , "Administrative Commands for managing the bot's configuration." ));
2521 addSubcommands (new ExportConfigSubcommand (), new GetConfigSubcommand (), new SetConfigSubcommand ());
2622 requireUsers (Bot .config .getSystems ().getAdminConfig ().getAdminUsers ());
2723 }
You can’t perform that action at this time.
0 commit comments