Skip to content

Commit 126e78f

Browse files
Removed unnecessary overrides
1 parent 352999c commit 126e78f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package net.javadiscord.javabot.systems.tags.commands;
22

33
import com.dynxsty.dih4jda.interactions.commands.SlashCommand;
4-
import net.dv8tion.jda.api.interactions.commands.DefaultMemberPermissions;
54
import net.dv8tion.jda.api.interactions.commands.build.Commands;
65
import 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
}

0 commit comments

Comments
 (0)