Update NotificationSounds.plugin.js
This commit is contained in:
parent
1568878522
commit
56f17c06ea
|
@ -2,7 +2,7 @@
|
||||||
* @name NotificationSounds
|
* @name NotificationSounds
|
||||||
* @author DevilBro
|
* @author DevilBro
|
||||||
* @authorId 278543574059057154
|
* @authorId 278543574059057154
|
||||||
* @version 3.9.5
|
* @version 3.9.6
|
||||||
* @description Allows you to replace the native Sounds with custom Sounds
|
* @description Allows you to replace the native Sounds with custom Sounds
|
||||||
* @invite Jx3TjNS
|
* @invite Jx3TjNS
|
||||||
* @donate https://www.paypal.me/MircoWittrien
|
* @donate https://www.paypal.me/MircoWittrien
|
||||||
|
@ -265,7 +265,7 @@ module.exports = (_ => {
|
||||||
}
|
}
|
||||||
else if (!guildId) {
|
else if (!guildId) {
|
||||||
this.fireEvent(isGroupDM ? "groupdm" : "dm");
|
this.fireEvent(isGroupDM ? "groupdm" : "dm");
|
||||||
!document.hasFocus() && this.playAudio(isGroupDM ? "groupdm" : "dm");
|
(!isCurrent || !document.hasFocus()) && this.playAudio(isGroupDM ? "groupdm" : "dm");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (guildId) {
|
else if (guildId) {
|
||||||
|
|
Loading…
Reference in New Issue