feat: add Redis identify ratelimiter

This commit is contained in:
spiral 2022-01-13 12:26:25 -05:00
parent 8aa2b0b7aa
commit 2aead40449
No known key found for this signature in database
GPG key ID: A6059F0CA0E1BD31
15 changed files with 449 additions and 40 deletions

View file

@ -31,6 +31,7 @@ public class BotModule: Module
Token = botConfig.Token,
MaxShardConcurrency = botConfig.MaxShardConcurrency,
GatewayQueueUrl = botConfig.GatewayQueueUrl,
UseRedisRatelimiter = botConfig.UseRedisRatelimiter,
Intents = GatewayIntent.Guilds |
GatewayIntent.DirectMessages |
GatewayIntent.DirectMessageReactions |