Implement basic say command
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-21 15:37:12 +01:00
parent 4382f7d490
commit b35b962ac6
6 changed files with 47 additions and 10 deletions

View File

@@ -34,6 +34,9 @@ public class SlashCommandUtil
add(Commands.slash("help", "Get general help on the bot."));
add(Commands.slash("invite", "Get an invite link for the bot."));
add(Commands.slash("ping", "Test if the bot is responsive."));
add(Commands.slash("say", "Make the bot say something.")
.addOption(OptionType.STRING, "text", "The message to send.", true, false)
.setDefaultPermissions(DefaultMemberPermissions.enabledFor(Permission.MESSAGE_MANAGE)));
}};
public static void updateSlashCommands(boolean force)