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