diff --git a/src/listeners/ready.cpp b/src/listeners/ready.cpp index 0d6b434..c3d1f0e 100644 --- a/src/listeners/ready.cpp +++ b/src/listeners/ready.cpp @@ -28,6 +28,7 @@ void ready::execute(dpp::cluster &bot, const dpp::ready_t &event) { bot.global_command_create(dpp::slashcommand("add", "Transforms the channel into a global channel", bot.me.id)); bot.global_command_create(dpp::slashcommand("remove", "Removes the channel from the global chat", bot.me.id).add_option( dpp::command_option(dpp::co_channel, "channel", "The channel to remove", false))); + bot.global_command_create(dpp::slashcommand("clear", "Removes all global channels", bot.me.id)); bot.global_command_create(dpp::slashcommand().set_name("Report User").set_type(dpp::ctxm_message)); }