fix rpc
This commit is contained in:
parent
2e1976ac90
commit
7d45f237d2
1 changed files with 4 additions and 0 deletions
|
@ -123,6 +123,10 @@ export default class DiscordRichPresence {
|
||||||
this._activity.details = this._activity.details.substring(0, 125) + '...'
|
this._activity.details = this._activity.details.substring(0, 125) + '...'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this._activity.largeImageKey == null || this._activity.largeImageKey == ""){
|
||||||
|
this._activity.largeImageKey = "cider";
|
||||||
|
}
|
||||||
|
|
||||||
// Check if its pausing (false) or playing (true)
|
// Check if its pausing (false) or playing (true)
|
||||||
if (!attributes.status) {
|
if (!attributes.status) {
|
||||||
if (DiscordRichPresence._store.general.discord_rpc_clear_on_pause) {
|
if (DiscordRichPresence._store.general.discord_rpc_clear_on_pause) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue