Integrated the clear command in the ready.cpp
This commit is contained in:
parent
6574bb8ea3
commit
656ccc9b19
@ -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("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(
|
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)));
|
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));
|
bot.global_command_create(dpp::slashcommand().set_name("Report User").set_type(dpp::ctxm_message));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user