Skip to content

Commit

Permalink
re-enable role caching
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis committed Jun 15, 2024
1 parent 8c27ca5 commit 7f52f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ int main(int argc, char** argv) {
* Channel caching: aggressive
* Guild caching: aggressive
*/
dpp::cache_policy_t cp = { dpp::cp_none, dpp::cp_none, dpp::cp_none, dpp::cp_aggressive, dpp::cp_aggressive };
dpp::cache_policy_t cp = { dpp::cp_none, dpp::cp_none, dpp::cp_aggressive, dpp::cp_aggressive, dpp::cp_aggressive };
/* Construct cluster */
dpp::cluster bot(token, intents, dev ? 1 : from_string<uint32_t>(Bot::GetConfig("shardcount"), std::dec), clusterid, maxclusters, true, cp);

Expand Down

0 comments on commit 7f52f16

Please sign in to comment.