Skip to content

Commit 4753d7b

Browse files
Made /tag guild-only
1 parent dab1c31 commit 4753d7b

File tree

1 file changed

+3
-1
lines changed
  • src/main/java/net/javadiscord/javabot/systems/staff_commands/tags/commands

1 file changed

+3
-1
lines changed

src/main/java/net/javadiscord/javabot/systems/staff_commands/tags/commands/TagsCommand.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ public class TagsCommand extends SlashCommand {
1212
* adds the corresponding {@link net.dv8tion.jda.api.interactions.commands.Command.Subcommand}s.
1313
*/
1414
public TagsCommand() {
15-
setSlashCommandData(Commands.slash("tag", "Commands for interacting with Custom Tags."));
15+
setSlashCommandData(Commands.slash("tag", "Commands for interacting with Custom Tags.")
16+
.setGuildOnly(true)
17+
);
1618
addSubcommands(new TagViewSubcommand(), new TagListSubcommand());
1719
}
1820
}

0 commit comments

Comments
 (0)