stuff
This commit is contained in:
parent
a11e1bb73f
commit
0610985369
|
@ -2,7 +2,7 @@
|
||||||
* @name BDFDB
|
* @name BDFDB
|
||||||
* @author DevilBro
|
* @author DevilBro
|
||||||
* @authorId 278543574059057154
|
* @authorId 278543574059057154
|
||||||
* @version 1.9.4
|
* @version 1.9.5
|
||||||
* @description Required Library for DevilBro's Plugins
|
* @description Required Library for DevilBro's Plugins
|
||||||
* @invite Jx3TjNS
|
* @invite Jx3TjNS
|
||||||
* @donate https://www.paypal.me/MircoWittrien
|
* @donate https://www.paypal.me/MircoWittrien
|
||||||
|
@ -19,7 +19,7 @@ module.exports = (_ => {
|
||||||
"info": {
|
"info": {
|
||||||
"name": "BDFDB",
|
"name": "BDFDB",
|
||||||
"author": "DevilBro",
|
"author": "DevilBro",
|
||||||
"version": "1.9.4",
|
"version": "1.9.5",
|
||||||
"description": "Required Library for DevilBro's Plugins"
|
"description": "Required Library for DevilBro's Plugins"
|
||||||
},
|
},
|
||||||
"rawUrl": `https://mwittrien.github.io/BetterDiscordAddons/Library/0BDFDB.plugin.js`
|
"rawUrl": `https://mwittrien.github.io/BetterDiscordAddons/Library/0BDFDB.plugin.js`
|
||||||
|
@ -2489,6 +2489,9 @@ module.exports = (_ => {
|
||||||
if (LibraryModules.KeyCodeUtils) LibraryModules.KeyCodeUtils.getString = function (keyArray) {
|
if (LibraryModules.KeyCodeUtils) LibraryModules.KeyCodeUtils.getString = function (keyArray) {
|
||||||
return LibraryModules.KeyCodeUtils.toString([keyArray].flat(10).filter(n => n).map(keyCode => [BDFDB.DiscordConstants.KeyboardDeviceTypes.KEYBOARD_KEY, LibraryModules.KeyCodeUtils.keyToCode((Object.entries(LibraryModules.KeyEvents.codes).find(n => n[1] == keyCode && LibraryModules.KeyCodeUtils.keyToCode(n[0], null)) || [])[0], null) || keyCode]), true);
|
return LibraryModules.KeyCodeUtils.toString([keyArray].flat(10).filter(n => n).map(keyCode => [BDFDB.DiscordConstants.KeyboardDeviceTypes.KEYBOARD_KEY, LibraryModules.KeyCodeUtils.keyToCode((Object.entries(LibraryModules.KeyEvents.codes).find(n => n[1] == keyCode && LibraryModules.KeyCodeUtils.keyToCode(n[0], null)) || [])[0], null) || keyCode]), true);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
LibraryModules.LanguageStore = BDFDB.ModuleUtils.find(m => m.Messages && m.Messages.IMAGE && m);
|
||||||
|
|
||||||
BDFDB.LibraryModules = Object.assign({}, LibraryModules);
|
BDFDB.LibraryModules = Object.assign({}, LibraryModules);
|
||||||
|
|
||||||
LibraryModules.React = BDFDB.ModuleUtils.findByProperties("createElement", "cloneElement");
|
LibraryModules.React = BDFDB.ModuleUtils.findByProperties("createElement", "cloneElement");
|
||||||
|
|
|
@ -77,7 +77,6 @@
|
||||||
"InviteUtils": {"props": ["acceptInvite", "createInvite"]},
|
"InviteUtils": {"props": ["acceptInvite", "createInvite"]},
|
||||||
"KeyCodeUtils": {"props": ["toCombo", "keyToCode"], "assign": true},
|
"KeyCodeUtils": {"props": ["toCombo", "keyToCode"], "assign": true},
|
||||||
"KeyEvents": {"props": ["aliases", "code", "codes"]},
|
"KeyEvents": {"props": ["aliases", "code", "codes"]},
|
||||||
"LanguageStore": {"props": ["getLanguages", "Messages"]},
|
|
||||||
"LastChannelStore": {"props": ["getLastSelectedChannelId"]},
|
"LastChannelStore": {"props": ["getLastSelectedChannelId"]},
|
||||||
"LastGuildStore": {"props": ["getLastSelectedGuildId"]},
|
"LastGuildStore": {"props": ["getLastSelectedGuildId"]},
|
||||||
"LinkUtils": {"props": ["handleClick", "isLinkTrusted"]},
|
"LinkUtils": {"props": ["handleClick", "isLinkTrusted"]},
|
||||||
|
@ -318,7 +317,7 @@
|
||||||
"GuildComponents Pill": {"strings": ["opacity:1,height:", "20:8", "default.item"]},
|
"GuildComponents Pill": {"strings": ["opacity:1,height:", "20:8", "default.item"]},
|
||||||
"GuildComponents Separator": {"strings": ["className", "default.guildSeparator"]},
|
"GuildComponents Separator": {"strings": ["className", "default.guildSeparator"]},
|
||||||
"GuildComponents UnavailableGuildsButton": {"strings": ["className", "default.guildsError"]},
|
"GuildComponents UnavailableGuildsButton": {"strings": ["className", "default.guildsError"]},
|
||||||
"Header": {"name": "Header"},
|
"Header": {"props": ["Sizes", "Tags"]},
|
||||||
"HeaderBarComponents": {"name": "HeaderBarContainer"},
|
"HeaderBarComponents": {"name": "HeaderBarContainer"},
|
||||||
"Image": {"props": ["ImageReadyStates"]},
|
"Image": {"props": ["ImageReadyStates"]},
|
||||||
"ImageModal": {"name": "ImageModal"},
|
"ImageModal": {"name": "ImageModal"},
|
||||||
|
@ -643,6 +642,7 @@
|
||||||
"colorPickerSwatchSingle": "single-Fbb1wB",
|
"colorPickerSwatchSingle": "single-Fbb1wB",
|
||||||
"colorPickerSwatchSingleWrapper": "swatch-7FsRaa",
|
"colorPickerSwatchSingleWrapper": "swatch-7FsRaa",
|
||||||
"confirmModal": "confirmModal-t-WDWJ",
|
"confirmModal": "confirmModal-t-WDWJ",
|
||||||
|
"cursorPointer": "cursorPointer-B3uwDA",
|
||||||
"dateInputButton": "dateInputButton-jTGUJg",
|
"dateInputButton": "dateInputButton-jTGUJg",
|
||||||
"dateInputButtonSelected": "selected-8F23Ra",
|
"dateInputButtonSelected": "selected-8F23Ra",
|
||||||
"dateInputControls": "dateInputControls-cgfPf9",
|
"dateInputControls": "dateInputControls-cgfPf9",
|
||||||
|
@ -1917,7 +1917,7 @@
|
||||||
"comboboxitem": ["Combobox", "item"],
|
"comboboxitem": ["Combobox", "item"],
|
||||||
"comboboxitemlabel": ["Combobox", "itemLabel"],
|
"comboboxitemlabel": ["Combobox", "itemLabel"],
|
||||||
"cursordefault": ["Cursor", "cursorDefault"],
|
"cursordefault": ["Cursor", "cursorDefault"],
|
||||||
"cursorpointer": ["Cursor", "cursorPointer"],
|
"cursorpointer": ["BDFDB", "cursorPointer"],
|
||||||
"customstatusemoji": ["CustomStatusIcon", "emoji"],
|
"customstatusemoji": ["CustomStatusIcon", "emoji"],
|
||||||
"customstatusicon": ["CustomStatusIcon", "icon"],
|
"customstatusicon": ["CustomStatusIcon", "icon"],
|
||||||
"customstatusitem": ["CustomStatusPopout", "statusItem"],
|
"customstatusitem": ["CustomStatusPopout", "statusItem"],
|
||||||
|
|
Loading…
Reference in New Issue