diff --git a/source/funkin/play/PlayState.hx b/source/funkin/play/PlayState.hx index fa2b28d54..14b9429d7 100644 --- a/source/funkin/play/PlayState.hx +++ b/source/funkin/play/PlayState.hx @@ -1837,6 +1837,17 @@ class PlayState extends MusicBeatSubState smallImageKey: discordRPCIcon }); #end + + #if FEATURE_DISCORD_RPC + // Updating Discord Rich Presence. + DiscordClient.instance.setPresence( + { + state: buildDiscordRPCState(), + details: buildDiscordRPCDetails(), + largeImageKey: discordRPCAlbum, + smallImageKey: discordRPCIcon + }); + #end } function buildDiscordRPCDetails():String