Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2023-03-09 15:37:24 +01:00
parent e435aae6eb
commit a57cee70c3
1 changed files with 0 additions and 8 deletions

View File

@ -4165,14 +4165,6 @@ module.exports = (_ => {
BDFDB.DiscordUtils.getFontScale = function () {
return parseInt(document.firstElementChild.style.fontSize.replace("%", ""));
};
BDFDB.DiscordUtils.playSound = function (value, volume) {
if (!BDFDB.DiscordUtils.playSound.init) {
BDFDB.DiscordUtils.playSound.init = true;
BDFDB.LibraryModules.SoundParser && BDFDB.LibraryModules.SoundParser.keys && BDFDB.LibraryModules.SoundParser.keys();
BDFDB.LibraryStores.SoundpackStore && BDFDB.LibraryStores.SoundpackStore.getSoundpack && BDFDB.LibraryStores.SoundpackStore.getSoundpack();
}
BDFDB.LibraryModules.SoundUtils.playSound(value, volume);
};
BDFDB.DiscordUtils.shake = function () {
BDFDB.ReactUtils.findOwner(document.querySelector(BDFDB.dotCN.appcontainer), {name: "Shakeable", unlimited: true, up: true}).shake();
};