Skip to content

Commit

Permalink
Fixing the most embarrasing mistake ever
Browse files Browse the repository at this point in the history
  • Loading branch information
Henonicks committed Sep 7, 2023
1 parent 60047ae commit 7aa248b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docpages/example_programs/the_basics/editing-objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Sometimes we need to update an object, such as message or channel. At first, it
#include <dpp/dpp.h>
int main() {
dpp::cluster bot("MTE0MzIyOTY4MTE3MzI4MjkwNg.GkLrhp.ITK349pINwuU0gY1s_3DGJ5duFYvGPXRWYzlRM", dpp::i_default_intents | dpp::i_message_content);
dpp::cluster bot("Token", dpp::i_default_intents | dpp::i_message_content);
/* the second argument is a bitmask of intents - i_message_content is needed to get messages */
bot.on_log(dpp::utility::cout_logger());
Expand Down

0 comments on commit 7aa248b

Please sign in to comment.