stuff
This commit is contained in:
parent
1e7d83e8d7
commit
a46d4518d0
|
@ -2,7 +2,7 @@
|
|||
* @name BDFDB
|
||||
* @author DevilBro
|
||||
* @authorId 278543574059057154
|
||||
* @version 1.6.7
|
||||
* @version 1.6.8
|
||||
* @description Required Library for DevilBro's Plugins
|
||||
* @invite Jx3TjNS
|
||||
* @donate https://www.paypal.me/MircoWittrien
|
||||
|
@ -19,7 +19,7 @@ module.exports = (_ => {
|
|||
"info": {
|
||||
"name": "BDFDB",
|
||||
"author": "DevilBro",
|
||||
"version": "1.6.7",
|
||||
"version": "1.6.8",
|
||||
"description": "Required Library for DevilBro's Plugins"
|
||||
},
|
||||
"rawUrl": `https://mwittrien.github.io/BetterDiscordAddons/Library/0BDFDB.plugin.js`
|
||||
|
@ -4185,6 +4185,11 @@ module.exports = (_ => {
|
|||
BDFDB.DiscordUtils.isDevModeEnabled = function () {
|
||||
return LibraryModules.SettingsStore.developerMode;
|
||||
};
|
||||
BDFDB.DiscordUtils.getExperiment = function (id) {
|
||||
if (!id) return null;
|
||||
const module = BDFDB.ModuleUtils.find(m => m.definition && m.definition.defaultConfig && m.definition.defaultConfig[id] != null && typeof m.getCurrentConfig == "function");
|
||||
return module && (module.getCurrentConfig({}) || {})[id];
|
||||
};
|
||||
BDFDB.DiscordUtils.getTheme = function () {
|
||||
return LibraryModules.SettingsStore.theme != "dark" ? BDFDB.disCN.themelight : BDFDB.disCN.themedark;
|
||||
};
|
||||
|
|
|
@ -89,6 +89,7 @@
|
|||
"MessageUtils": {"props": ["receiveMessage", "editMessage"]},
|
||||
"ModalUtils": {"props": ["openModal", "hasModalOpen"]},
|
||||
"MutedUtils": {"props": ["isGuildOrCategoryOrChannelMuted"]},
|
||||
"NitroUtils": {"props": ["canUseIncreasedMessageLength", "canUploadAnimatedAvatar"]},
|
||||
"NoteStore": {"props": ["getNote"]},
|
||||
"NotificationSettingsStore": {"props": ["getDesktopType", "getTTSType"]},
|
||||
"NotificationSettingsUtils": {"props": ["setDesktopType", "setTTSType"]},
|
||||
|
@ -4994,7 +4995,7 @@
|
|||
"431078101997584395": {"active": false, "tier": "t2", "text": "", "id": "LEMI (f4g8)"},
|
||||
"268824390337036298": {"active": false, "tier": "t2", "text": "", "id": "lonelyw0lf (GriWa)"},
|
||||
"354191516979429376": {"active": false, "tier": "t2", "text": "", "id": "HypedDomi (DoBu)"},
|
||||
"596006086511689748": {"active": false, "tier": "t2", "text": "", "id": "Marshtomp (DsOp)"},
|
||||
"596006086511689748": {"active": true, "tier": "t2", "text": "", "id": "Marshtomp (DsOp)"},
|
||||
"341383936984875020": {"active": true, "tier": "t3", "text": "", "id": "dannycoch (DaCo)"},
|
||||
"121188168002174976": {"active": false, "tier": "t2", "text": "", "id": "Aven (Syn)"},
|
||||
"264486632525135883": {"active": true, "tier": "t3", "text": "", "id": "strix (A1C)"},
|
||||
|
|
Loading…
Reference in New Issue