Archiviert
1
0
Dieser Commit ist enthalten in:
Chaoscaot 2021-07-28 15:28:08 +02:00
Ursprung 5135d5d132
Commit 7921cca38e

Datei anzeigen

@ -27,11 +27,9 @@ import lombok.Getter;
import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.JDABuilder;
import net.dv8tion.jda.api.OnlineStatus;
import net.dv8tion.jda.api.entities.Activity;
import net.dv8tion.jda.api.entities.ActivityFlag;
import net.dv8tion.jda.api.entities.RichPresence;
import net.dv8tion.jda.api.hooks.ListenerAdapter;
import net.dv8tion.jda.internal.entities.RichPresenceImpl;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@ -55,13 +53,13 @@ public class SteamwarDiscordBot {
builder.setActivity(new RichPresence() {
@Override
public long getApplicationIdLong() {
return 0;
return 869611389818400779L;
}
@NotNull
@Override
public String getApplicationId() {
return "SteamWar";
return "869611389818400779";
}
@Nullable
@ -89,13 +87,13 @@ public class SteamwarDiscordBot {
@Nullable
@Override
public String getState() {
return "SteamWar";
return "Steamwar.de";
}
@Nullable
@Override
public String getDetails() {
return "SteamWar";
return "Spielt auf Steamwar.de";
}
@Nullable
@ -124,7 +122,7 @@ public class SteamwarDiscordBot {
@Nullable
@Override
public RichPresence asRichPresence() {
return null;
return this;
}
@NotNull
@ -142,7 +140,7 @@ public class SteamwarDiscordBot {
@NotNull
@Override
public ActivityType getType() {
return null;
return ActivityType.COMPETING;
}
@Nullable