From fcea3942c9870913d5757ba78d337cb768e4743a Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Thu, 30 Jan 2020 18:02:51 +0100 Subject: [PATCH] Update BDFDB.js --- Plugins/BDFDB.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js index cedda71ecf..ba439b8bb5 100644 --- a/Plugins/BDFDB.js +++ b/Plugins/BDFDB.js @@ -4675,6 +4675,7 @@ DiscordClassModules.MessageOperations = BDFDB.ModuleUtils.find(m => typeof m.operations == "string" && Object.keys(m).length == 1); DiscordClassModules.MessageSystem = BDFDB.ModuleUtils.findByProperties("container", "actionAnchor"); DiscordClassModules.MessageToolbar = BDFDB.ModuleUtils.findByProperties("container", "icon", "isHeader"); + DiscordClassModules.MessageToolbarItems = BDFDB.ModuleUtils.findByProperties("wrapper", "button", "separator"); DiscordClassModules.MessagesPopout = BDFDB.ModuleUtils.findByProperties("messagesPopoutWrap", "jumpButton"); DiscordClassModules.MessagesWelcome = BDFDB.ModuleUtils.findByProperties("welcomeMessage", "h1"); DiscordClassModules.MessagesWrap = BDFDB.ModuleUtils.findByProperties("messagesWrapper", "messageGroupBlocked"); @@ -5591,10 +5592,15 @@ messagetimedividerred: ["MessageElements", "dividerRed"], messagetimedividercontent: ["MessageElements", "dividerContent"], messagetimestampsystem: ["MessageSystem", "timestamp"], - messagetoolbarcontainer: ["MessageToolbar", "container"], + messagetoolbar: ["MessageToolbar", "container"], + messagetoolbarbutton: ["MessageToolbarItems", "button"], + messagetoolbarbuttondisabled: ["MessageToolbarItems", "disabled"], + messagetoolbarbuttonselected: ["MessageToolbarItems", "selected"], messagetoolbaricon: ["MessageToolbar", "icon"], + messagetoolbarinner: ["MessageToolbarItems", "wrapper"], messagetoolbarisheader: ["MessageToolbar", "isHeader"], messagetoolbarpublishicon: ["MessageToolbar", "publishIcon"], + messagetoolbarseparator: ["MessageToolbarItems", "separator"], messageuploadcancel: ["MessageFile", "cancelButton"], modal: ["ModalWrap", "modal"], modalclose: ["Modal", "close"],