refactor: some changes to newTotalConnects changing to 6

This commit is contained in:
ChomeNS
2024-12-18 18:23:33 +07:00
parent e798a9dc18
commit cdaa625962
2 changed files with 3 additions and 3 deletions

View File

@@ -122,8 +122,8 @@ public class DiscordPlugin {
totalConnects.put(channelId, newTotalConnects);
if (newTotalConnects > 20) return;
else if (newTotalConnects == 20) {
if (newTotalConnects > 6) return;
else if (newTotalConnects == 6) {
sendMessageInstantly("Suspending connecting and disconnect messages from now on", channelId);
return;