From 2c46d2e6a3576b9e3bc8037dc96949d687c381bb Mon Sep 17 00:00:00 2001 From: yoyosource Date: Wed, 28 Jul 2021 15:33:18 +0200 Subject: [PATCH] Add SteamwarDiscordBot rich presence --- src/de/steamwar/bungeecore/bot/SteamwarDiscordBot.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/de/steamwar/bungeecore/bot/SteamwarDiscordBot.java b/src/de/steamwar/bungeecore/bot/SteamwarDiscordBot.java index 99a9840..e4d29a7 100644 --- a/src/de/steamwar/bungeecore/bot/SteamwarDiscordBot.java +++ b/src/de/steamwar/bungeecore/bot/SteamwarDiscordBot.java @@ -76,7 +76,7 @@ public class SteamwarDiscordBot { @Override public int getFlags() { - return 0; + return ActivityFlag.PLAY.getRaw(); } @Override @@ -140,7 +140,7 @@ public class SteamwarDiscordBot { @NotNull @Override public ActivityType getType() { - return ActivityType.CUSTOM_STATUS; + return ActivityType.DEFAULT; } @Nullable