Fix missing description for command
This commit is contained in:
parent
df69f0e607
commit
fd5f89c755
|
|
@ -15,8 +15,8 @@ public class CommandBroadcast extends DiscordCommand {
|
||||||
|
|
||||||
CommandData commandData;
|
CommandData commandData;
|
||||||
public CommandBroadcast(JDA jda) {
|
public CommandBroadcast(JDA jda) {
|
||||||
commandData = Commands.slash(getName(), "")
|
commandData = Commands.slash(getName(), "Broadcast a message to all online players")
|
||||||
.addOption(OptionType.STRING, "text", "Broadcast a message to all online players", true)
|
.addOption(OptionType.STRING, "text", "Text to broadcast", true)
|
||||||
.setDefaultPermissions(DefaultMemberPermissions.DISABLED);
|
.setDefaultPermissions(DefaultMemberPermissions.DISABLED);
|
||||||
Utilities.registerCommand(jda, commandData);
|
Utilities.registerCommand(jda, commandData);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user