File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/java/net/javadiscord/javabot/systems/tags/commands Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 33import com .dynxsty .dih4jda .interactions .commands .SlashCommand ;
44import net .dv8tion .jda .api .interactions .commands .DefaultMemberPermissions ;
55import net .dv8tion .jda .api .interactions .commands .build .Commands ;
6+ import net .javadiscord .javabot .systems .moderation .CommandModerationPermissions ;
67
78/**
89 * Represents the `/tag-admin` command. This holds administrative commands for managing "Custom Tags".
910 */
10- public class CustomTagsAdminCommand extends SlashCommand {
11+ public class CustomTagsAdminCommand extends SlashCommand implements CommandModerationPermissions {
1112 /**
1213 * This classes constructor which sets the {@link net.dv8tion.jda.api.interactions.commands.build.SlashCommandData} and
1314 * adds the corresponding {@link net.dv8tion.jda.api.interactions.commands.Command.Subcommand}s.
1415 */
1516 public CustomTagsAdminCommand () {
16- setSlashCommandData (Commands .slash ("tag-admin" , "Administrative commands for managing \" Custom Tags\" ." )
17+ setModerationSlashCommandData (Commands .slash ("tag-admin" , "Administrative commands for managing \" Custom Tags\" ." )
1718 .setDefaultPermissions (DefaultMemberPermissions .DISABLED )
1819 .setGuildOnly (true )
1920 );
You can’t perform that action at this time.
0 commit comments