Skip to content

Commit 5ffbd74

Browse files
committed
DISCORD MANIA
1 parent 618cfbd commit 5ffbd74

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

source/backend/Discord.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import flixel.util.FlxStringUtil;
1313
class DiscordClient
1414
{
1515
public static var isInitialized:Bool = false;
16-
private inline static final _defaultID:String = "863222024192262205";
16+
private inline static final _defaultID:String = "1388270114121453658";
1717
public static var clientID(default, set):String = _defaultID;
1818
private static var presence:DiscordPresence = new DiscordPresence();
1919
// hides this field from scripts and reflection in general
@@ -98,7 +98,7 @@ class DiscordClient
9898
isInitialized = true;
9999
}
100100

101-
public static function changePresence(details:String = 'In the Menus', ?state:String, ?smallImageKey:String, ?hasStartTimestamp:Bool, ?endTimestamp:Float, largeImageKey:String = 'icon')
101+
public static function changePresence(details:String = 'In the Menus', ?state:String, ?smallImageKey:String = 'icon', ?hasStartTimestamp:Bool, ?endTimestamp:Float, largeImageKey:String = 'icon')
102102
{
103103
var startTimestamp:Float = 0;
104104
if (hasStartTimestamp) startTimestamp = Date.now().getTime();

source/states/CreditsState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class CreditsState extends MusicBeatState
2121
{
2222
#if DISCORD_ALLOWED
2323
// Updating Discord Rich Presence
24-
DiscordClient.changePresence("In the Menus", null);
24+
DiscordClient.changePresence("Reading the credits", null);
2525
#end
2626

2727
persistentUpdate = true;

source/states/MainMenuState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class MainMenuState extends MusicBeatState
7171

7272
#if DISCORD_ALLOWED
7373
// Updating Discord Rich Presence
74-
DiscordClient.changePresence("In the Menus", null);
74+
DiscordClient.changePresence("In the Main Menu", null);
7575
#end
7676

7777
persistentUpdate = persistentDraw = true;

source/states/ModsMenuState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class ModsMenuState extends MusicBeatState
6464

6565
#if DISCORD_ALLOWED
6666
// Updating Discord Rich Presence
67-
DiscordClient.changePresence("In the Menus", null);
67+
DiscordClient.changePresence("In the Mods Menu", null);
6868
#end
6969

7070
bg = new FlxSprite().loadGraphic(Paths.image(ClientPrefs.getBGImage()));

source/states/StoryMenuState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class StoryMenuState extends MusicBeatState
5353

5454
#if DISCORD_ALLOWED
5555
// Updating Discord Rich Presence
56-
DiscordClient.changePresence("In the Menus", null);
56+
DiscordClient.changePresence("In the Story Menu", null);
5757
#end
5858

5959
if(WeekData.weeksList.length < 1)

source/states/freeplay/FreeplayState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class FreeplayState extends MusicBeatState
149149

150150
#if DISCORD_ALLOWED
151151
// Updating Discord Rich Presence
152-
DiscordClient.changePresence("In the Menus", null);
152+
DiscordClient.changePresence("In Mixtape Freeplay", null);
153153
#end
154154

155155
if(WeekData.weeksList.length < 1)

source/states/freeplay/OsuFreeplayState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ class OsuFreeplayState extends MusicBeatState
212212

213213
#if DISCORD_ALLOWED
214214
// Updating Discord Rich Presence
215-
DiscordClient.changePresence("In the Menus", null);
215+
DiscordClient.changePresence("In the OSU! Freeplay", null);
216216
#end
217217

218218
Mods.loadTopMod();

source/states/freeplay/for later/OsuFreeplayState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class OsuFreeplayState extends MusicBeatState
203203

204204
#if DISCORD_ALLOWED
205205
// Updating Discord Rich Presence
206-
DiscordClient.changePresence("In the Menus", null);
206+
DiscordClient.changePresence("In the OSU! Freeplay", null);
207207
#end
208208

209209
Mods.loadTopMod();

0 commit comments

Comments
 (0)