From 375ac4ebac489c2654a99090539dd4f2cb44515a Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Thu, 28 Mar 2024 19:02:53 +0100 Subject: [PATCH] stuff --- Library/0BDFDB.plugin.js | 4 ++-- Library/_res/0BDFDB.data.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index 0fa69c070e..fd056b1d29 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -2,7 +2,7 @@ * @name BDFDB * @author DevilBro * @authorId 278543574059057154 - * @version 3.6.0 + * @version 3.6.1 * @description Required Library for DevilBro's Plugins * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -1420,7 +1420,7 @@ module.exports = (_ => { BDFDB.LogUtils.warn([item, "Object not found in DiscordConstants"]); return {}; } - if (InternalData.DiscordConstants[item].strings) DiscordConstants[item] = BDFDB.ModuleUtils.findByString(InternalData.DiscordConstants[item]); + if (InternalData.DiscordConstants[item].strings) DiscordConstants[item] = BDFDB.ModuleUtils.findByString(InternalData.DiscordConstants[item].strings); else DiscordConstants[item] = BDFDB.ModuleUtils.findByProperties(InternalData.DiscordConstants[item]); if (InternalData.DiscordConstants[item].value) DiscordConstants[item] = DiscordConstants[item][value] || DiscordConstants[item]; return DiscordConstants[item] ? DiscordConstants[item] : {}; diff --git a/Library/_res/0BDFDB.data.json b/Library/_res/0BDFDB.data.json index 919e53ac21..74a000a66f 100644 --- a/Library/_res/0BDFDB.data.json +++ b/Library/_res/0BDFDB.data.json @@ -71,7 +71,7 @@ "AutocompleterResultTypes": ["VOICE_CHANNEL", "TEXT_CHANNEL", "USER", "LINK"], "ChannelTextAreaTypes": ["CREATE_FORUM_POST", "PROFILE_BIO_INPUT", "FORUM_CHANNEL_GUIDELINES"], "Colors": ["SPOTIFY", "RED_100", "BLUE"], - "ColorsCSS": ["BUTTON_DANGER_BACKGROUND", "STATUS_DANGER", "HEADER_PRIMARY"], + "ColorsCSS": {"strings": ["var(--status-positive", "var(--bg-brand)"], "value": "default"}, "EmojiSprites": ["DiversityPerRow", "PickerCount", "PickerPerRow"], "InboxTabs": ["MENTIONS", "UNREADS"], "MessageTypeGroups": ["USER_MESSAGE", "UNDELETABLE"],