From bb404ef9dd80c51534ab5a3e9c6f976b74686dd2 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Wed, 28 Jul 2021 16:51:54 +0200 Subject: [PATCH] Fix SteamwarDiscordBot --- src/de/steamwar/bungeecore/bot/SteamwarDiscordBot.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/de/steamwar/bungeecore/bot/SteamwarDiscordBot.java b/src/de/steamwar/bungeecore/bot/SteamwarDiscordBot.java index 30b2649..8f04257 100644 --- a/src/de/steamwar/bungeecore/bot/SteamwarDiscordBot.java +++ b/src/de/steamwar/bungeecore/bot/SteamwarDiscordBot.java @@ -90,8 +90,7 @@ public class SteamwarDiscordBot { } break; case 1: - Activity activity = EntityBuilder.createActivity("Online: " + BungeeCore.get().getProxy().getOnlineCount(), null, Activity.ActivityType.CUSTOM_STATUS); - jda.getPresence().setActivity(activity); + jda.getPresence().setActivity(Activity.playing("Online: " + BungeeCore.get().getProxy().getOnlineCount())); index = 0; return; }