Skip to content

Commit

Permalink
fix: limit gateway intents
Browse files Browse the repository at this point in the history
  • Loading branch information
AlisaAkiron committed May 16, 2024
1 parent b051a63 commit 712c007
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/NibiruConnector/Configurator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public static IServiceCollection AddDiscord(this IServiceCollection services)
return new DiscordSocketConfig
{
MessageCacheSize = 100,
GatewayIntents = GatewayIntents.None,
WebSocketProvider = DefaultWebSocketProvider.Create(webProxy),
RestClientProvider = DefaultRestClientProvider.Create(useProxy),
};
Expand Down

0 comments on commit 712c007

Please sign in to comment.