From 2bfc37ae8407cc6ce7b9a43fd002c5e4103189d1 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Wed, 28 Jul 2021 15:55:47 +0200 Subject: [PATCH] Add SteamwarDiscordBot presence --- src/de/steamwar/bungeecore/bot/SteamwarDiscordBot.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/bot/SteamwarDiscordBot.java b/src/de/steamwar/bungeecore/bot/SteamwarDiscordBot.java index a3132f59..f7ed156b 100644 --- a/src/de/steamwar/bungeecore/bot/SteamwarDiscordBot.java +++ b/src/de/steamwar/bungeecore/bot/SteamwarDiscordBot.java @@ -172,7 +172,8 @@ public class SteamwarDiscordBot { } catch (InterruptedException e) { e.printStackTrace(); } - ProxyServer.getInstance().getScheduler().schedule(BungeeCore.get(), this::activity, 30, 0, TimeUnit.SECONDS); + activity(); + ProxyServer.getInstance().getScheduler().schedule(BungeeCore.get(), this::activity, 30, 30, TimeUnit.SECONDS); DiscordRolesMessage.sendMessage(); DiscordRulesMessage.sendMessage();