Change rename ratelimit to 3/60s

This commit is contained in:
MDMCK10
2023-04-27 16:30:28 +02:00
committed by GitHub
parent dcee5bd157
commit b7cba2f572

View File

@@ -45,7 +45,7 @@ export class User {
this.rank = 0; this.rank = 0;
this.ChatRateLimit = new RateLimiter(this.Config.collabvm.automute.messages, this.Config.collabvm.automute.seconds); this.ChatRateLimit = new RateLimiter(this.Config.collabvm.automute.messages, this.Config.collabvm.automute.seconds);
this.ChatRateLimit.on('limit', () => this.mute(false)); 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.RenameRateLimit.on('limit', () => this.closeConnection());
this.LoginRateLimit = new RateLimiter(4, 3); this.LoginRateLimit = new RateLimiter(4, 3);
this.LoginRateLimit.on('limit', () => this.closeConnection()); this.LoginRateLimit.on('limit', () => this.closeConnection());