make #1 and userfeed commands guild only
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 44s
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 44s
This commit is contained in:
parent
0f2c684300
commit
a7f4a36c12
@ -25,6 +25,7 @@ public class NumberOneFeedCommand extends BatCommand {
|
||||
|
||||
super.setDescription("ScoreSaber #1 score feed commands");
|
||||
super.setCommandData(new CommandDataImpl(this.getName(), this.getDescription())
|
||||
.setGuildOnly(true)
|
||||
.addSubcommands(new SubcommandData("channel", "Edit the channel the score feed is sent in")
|
||||
.addOptions(new OptionData(OptionType.CHANNEL, "channel", "Set the channel to send the score feed in", false))
|
||||
).setDefaultPermissions(DefaultMemberPermissions.enabledFor(Permission.MANAGE_SERVER))
|
||||
|
@ -22,7 +22,7 @@ public class ClearUsersSubCommand extends BatSubCommand {
|
||||
private final GuildService guildService;
|
||||
|
||||
@Autowired
|
||||
public ClearUsersSubCommand(GuildService guildService, UserService userService) {
|
||||
public ClearUsersSubCommand(GuildService guildService) {
|
||||
this.guildService = guildService;
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,7 @@ public class UserFeedCommand extends BatCommand {
|
||||
|
||||
super.setDescription("ScoreSaber user score feed commands");
|
||||
super.setCommandData(new CommandDataImpl(this.getName(), this.getDescription())
|
||||
.setGuildOnly(true)
|
||||
.addSubcommands(new SubcommandData("user", "Edit the users in the score feed")
|
||||
.addOptions(new OptionData(OptionType.USER, "user", "Add or remove a user from the score feed", false))
|
||||
).setDefaultPermissions(DefaultMemberPermissions.enabledFor(Permission.MANAGE_SERVER))
|
||||
|
Loading…
x
Reference in New Issue
Block a user