[Discord] Better image keys and avoid setting a small image for now.
This commit is contained in:
parent
112bf6c8ab
commit
5593773a07
|
@ -34,7 +34,7 @@ void DiscordPresence::NotPlaying() {
|
||||||
DiscordRichPresence discordPresence = {};
|
DiscordRichPresence discordPresence = {};
|
||||||
discordPresence.state = "Idle";
|
discordPresence.state = "Idle";
|
||||||
discordPresence.details = "Standby";
|
discordPresence.details = "Standby";
|
||||||
discordPresence.largeImageKey = "default";
|
discordPresence.largeImageKey = "app";
|
||||||
discordPresence.instance = 1;
|
discordPresence.instance = 1;
|
||||||
Discord_UpdatePresence(&discordPresence);
|
Discord_UpdatePresence(&discordPresence);
|
||||||
}
|
}
|
||||||
|
@ -44,8 +44,10 @@ void DiscordPresence::PlayingTitle(const std::wstring& game_title) {
|
||||||
DiscordRichPresence discordPresence = {};
|
DiscordRichPresence discordPresence = {};
|
||||||
discordPresence.state = "In Game";
|
discordPresence.state = "In Game";
|
||||||
discordPresence.details = discord_game_title.c_str();
|
discordPresence.details = discord_game_title.c_str();
|
||||||
discordPresence.smallImageKey = "default";
|
// TODO(gibbed): we don't have state icons yet.
|
||||||
discordPresence.largeImageKey = "defaultgame";
|
// discordPresence.smallImageKey = "app";
|
||||||
|
// discordPresence.largeImageKey = "state_ingame";
|
||||||
|
discordPresence.largeImageKey = "app";
|
||||||
discordPresence.instance = 1;
|
discordPresence.instance = 1;
|
||||||
Discord_UpdatePresence(&discordPresence);
|
Discord_UpdatePresence(&discordPresence);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue