Added the add command to the ready.cpp listener
This commit is contained in:
@@ -26,5 +26,6 @@ void ready::execute(dpp::cluster &bot, const dpp::ready_t &event) {
|
||||
|
||||
if (dpp::run_once<struct register_bot_commands>()) {
|
||||
bot.global_command_create(dpp::slashcommand("rules", "Shows you the rules of the global chat", bot.me.id));
|
||||
bot.global_command_create(dpp::slashcommand("add", "Transforms the channel into a global channel", bot.me.id));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user