Added the add command to the ready.cpp listener

This commit is contained in:
Mathias Wagner 2023-11-04 12:23:19 +01:00
parent 1ba8c0d547
commit 43ee8fd999
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -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));
}
}