From b7cba2f572bdef4fc88fcc4b79ef9f7431297336 Mon Sep 17 00:00:00 2001 From: MDMCK10 <21245760+MDMCK10@users.noreply.github.com> Date: Thu, 27 Apr 2023 16:30:28 +0200 Subject: [PATCH] Change rename ratelimit to 3/60s --- src/User.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/User.ts b/src/User.ts index cb0a43b..56a4363 100644 --- a/src/User.ts +++ b/src/User.ts @@ -45,7 +45,7 @@ export class User { this.rank = 0; this.ChatRateLimit = new RateLimiter(this.Config.collabvm.automute.messages, this.Config.collabvm.automute.seconds); this.ChatRateLimit.on('limit', () => this.mute(false)); - this.RenameRateLimit = new RateLimiter(4, 3); + this.RenameRateLimit = new RateLimiter(3, 60); this.RenameRateLimit.on('limit', () => this.closeConnection()); this.LoginRateLimit = new RateLimiter(4, 3); this.LoginRateLimit.on('limit', () => this.closeConnection());