From 8666ef30443c139246ac7fd766d5540ac3999723 Mon Sep 17 00:00:00 2001 From: beanbeanjuice Date: Wed, 12 Jun 2024 22:53:34 -0700 Subject: [PATCH] Updated the Channel Topic Updater to 10 Minutes --- .../beanbeanjuice/simpleproxychat/SimpleProxyChatBungee.java | 2 +- .../simpleproxychat/SimpleProxyChatVelocity.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/beanbeanjuice/simpleproxychat/SimpleProxyChatBungee.java b/src/main/java/com/beanbeanjuice/simpleproxychat/SimpleProxyChatBungee.java index 7d3a5ce..123c60a 100644 --- a/src/main/java/com/beanbeanjuice/simpleproxychat/SimpleProxyChatBungee.java +++ b/src/main/java/com/beanbeanjuice/simpleproxychat/SimpleProxyChatBungee.java @@ -71,7 +71,7 @@ public void onEnable() { .count(); discordBot.channelUpdaterFunction(numPlayers); - }, 5, 5, TimeUnit.MINUTES); + }, 10, 10, TimeUnit.MINUTES); // Update Checker startUpdateChecker(); diff --git a/src/main/java/com/beanbeanjuice/simpleproxychat/SimpleProxyChatVelocity.java b/src/main/java/com/beanbeanjuice/simpleproxychat/SimpleProxyChatVelocity.java index 82682b9..c09379e 100644 --- a/src/main/java/com/beanbeanjuice/simpleproxychat/SimpleProxyChatVelocity.java +++ b/src/main/java/com/beanbeanjuice/simpleproxychat/SimpleProxyChatVelocity.java @@ -102,8 +102,8 @@ public void onProxyInitialization(ProxyInitializeEvent event) { discordBot.channelUpdaterFunction(numPlayers); }) - .delay(5, TimeUnit.MINUTES) - .repeat(5, TimeUnit.MINUTES) + .delay(10, TimeUnit.MINUTES) + .repeat(10, TimeUnit.MINUTES) .schedule(); // Start Update Checker