Added the add command to the ready.cpp listener
This commit is contained in:
parent
1ba8c0d547
commit
43ee8fd999
@ -26,5 +26,6 @@ void ready::execute(dpp::cluster &bot, const dpp::ready_t &event) {
|
|||||||
|
|
||||||
if (dpp::run_once<struct register_bot_commands>()) {
|
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("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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user