1
0
Fork 0
mirror of https://gitlab.com/niansa/SomeBot.git synced 2025-03-06 20:48:26 +01:00

Delete cat command

This commit is contained in:
niansa 2023-10-06 22:57:18 +02:00
parent 9a6aea0d3e
commit c470c87948

View file

@ -12,9 +12,6 @@ public:
bot->add_chatcommand(Bot::ChatCommand({"ping"}, "Ping pong!"), [&](const dpp::slashcommand_t& event) {
event.reply(dpp::message("Pong!").set_flags(dpp::message_flags::m_ephemeral));
});
bot->add_chatcommand(Bot::ChatCommand({"cat", "katze"}, "Generiere eine Katze"), [&](const dpp::slashcommand_t& event) {
event.reply("https://thiscatdoesnotexist.com/?"+std::to_string(event.command.id));
});
}
};
BOT_ADD_MODULE(Fun);