fix: fix disconnect 20 -> 6 (last commit i think)

This commit is contained in:
ChomeNS
2024-12-19 16:23:21 +07:00
parent c504918571
commit 50dc16bee4
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
1287
1288

View File

@@ -155,7 +155,7 @@ public class DiscordPlugin {
@Override
public void disconnected(DisconnectedEvent event) {
if (totalConnects.get(channelId) >= 20) return;
if (totalConnects.get(channelId) >= 6) return;
final String reason = ComponentUtilities.stringifyAnsi(event.getReason());
sendMessageInstantly(