Skip to content

Commit

Permalink
[Update]: Add logger to check error
Browse files Browse the repository at this point in the history
  • Loading branch information
harshfeudal committed Nov 21, 2022
1 parent 9238c25 commit ecc64de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ int main()
// Console log prettier
SetConsoleTitle(TEXT("[BETA] v0.1.6.0 - Raiden Shogun Discord Bot - The Harshfeudal Projects"));

// Use this logger to check why the code is error (remove when done)
client.on_log(dpp::utility::cout_logger());

// Starting the bot
client.start(dpp::st_wait);

Expand Down

0 comments on commit ecc64de

Please sign in to comment.