diff --git a/docpages/example_code/embeds.cpp b/docpages/example_code/embeds.cpp index 594b2a1861..f5e8e51fbd 100644 --- a/docpages/example_code/embeds.cpp +++ b/docpages/example_code/embeds.cpp @@ -2,7 +2,9 @@ int main() { /* Setup the bot */ - dpp::cluster bot("token", dpp::i_default_intents | dpp::i_message_content); + dpp::cluster bot("token"); + + bot.on_log(dpp::utility::cout_logger()); /* The event is fired when someone issues your commands */ bot.on_slashcommand([&bot](const dpp::slashcommand_t& event) {