Skip to content

Commit

Permalink
reduce intents to reduce memory usage
Browse files Browse the repository at this point in the history
  • Loading branch information
loukylor committed Nov 9, 2024
1 parent c3647aa commit 8e06a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TrickfireCheckIn/Discord/Bot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class Bot
public Bot(string token)
{
DiscordClientBuilder builder = DiscordClientBuilder
.CreateDefault(token, DiscordIntents.AllUnprivileged)
.CreateDefault(token, DiscordIntents.None)
.ConfigureExtraFeatures((conf) =>
{
conf.AbsoluteMessageCacheExpiration = TimeSpan.FromMinutes(5);
Expand Down

0 comments on commit 8e06a58

Please sign in to comment.