Skip to content

Commit

Permalink
L
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackx2 committed Jul 4, 2024
1 parent 6d71cc0 commit 03255f6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions source/funkin/backend/client/Discord.hx
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,6 @@ class DiscordClient
presence.largeImageText = "Engine Version: " + cast(EngineData.engineData.coreVersion, String);
presence.smallImageKey = smallImageKey;

// if(Config.discordButton){
// presence.button1Label = 'Github Page';
// presence.button1Url = cast(EngineData.engineData.repository, String);
// }
// Obtained times are in milliseconds so they are divided so Discord can use it
presence.startTimestamp = Std.int(startTimestamp / 1000);
presence.endTimestamp = Std.int(endTimestamp / 1000);
Expand Down
1 change: 0 additions & 1 deletion source/funkin/game/Config.hx
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ class Config {
static final startFullscreen:Bool = false; // If the game should start in fullscreen mode.

static final discordID:String = '';
static final discordButton:Bool = true;
}

0 comments on commit 03255f6

Please sign in to comment.