Add SteamwarDiscordBot rich presence
Dieser Commit ist enthalten in:
Ursprung
dcfa2c701a
Commit
2c46d2e6a3
@ -76,7 +76,7 @@ public class SteamwarDiscordBot {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getFlags() {
|
public int getFlags() {
|
||||||
return 0;
|
return ActivityFlag.PLAY.getRaw();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -140,7 +140,7 @@ public class SteamwarDiscordBot {
|
|||||||
@NotNull
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
public ActivityType getType() {
|
public ActivityType getType() {
|
||||||
return ActivityType.CUSTOM_STATUS;
|
return ActivityType.DEFAULT;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren