File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/main/java/net/javadiscord/javabot/systems/tags/commands 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 .tags .commands ;
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 .systems .moderation .CommandModerationPermissions ;
76
@@ -14,10 +13,7 @@ public class CustomTagsAdminCommand extends SlashCommand implements CommandModer
1413 * adds the corresponding {@link net.dv8tion.jda.api.interactions.commands.Command.Subcommand}s.
1514 */
1615 public CustomTagsAdminCommand () {
17- setModerationSlashCommandData (Commands .slash ("tag-admin" , "Administrative commands for managing \" Custom Tags\" ." )
18- .setDefaultPermissions (DefaultMemberPermissions .DISABLED )
19- .setGuildOnly (true )
20- );
16+ setModerationSlashCommandData (Commands .slash ("tag-admin" , "Administrative commands for managing \" Custom Tags\" ." ));
2117 addSubcommands (new CreateCustomTagSubcommand (), new DeleteCustomTagSubcommand (), new EditCustomTagSubcommand ());
2218 }
2319}
You can’t perform that action at this time.
0 commit comments