Update 0BDFDB.plugin.js
This commit is contained in:
parent
e435aae6eb
commit
a57cee70c3
|
@ -4165,14 +4165,6 @@ module.exports = (_ => {
|
||||||
BDFDB.DiscordUtils.getFontScale = function () {
|
BDFDB.DiscordUtils.getFontScale = function () {
|
||||||
return parseInt(document.firstElementChild.style.fontSize.replace("%", ""));
|
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.DiscordUtils.shake = function () {
|
||||||
BDFDB.ReactUtils.findOwner(document.querySelector(BDFDB.dotCN.appcontainer), {name: "Shakeable", unlimited: true, up: true}).shake();
|
BDFDB.ReactUtils.findOwner(document.querySelector(BDFDB.dotCN.appcontainer), {name: "Shakeable", unlimited: true, up: true}).shake();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue