From 5da7953e1b6ab33dd2a609a60d494cfa627d3607 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Mon, 16 Jan 2023 18:26:50 +0100 Subject: [PATCH] Revert "Update CompleteTimestamps.plugin.js" This reverts commit 56bb18d57751cfd3ec98b999c14524043abc1200. --- .../CompleteTimestamps.plugin.js | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/Plugins/CompleteTimestamps/CompleteTimestamps.plugin.js b/Plugins/CompleteTimestamps/CompleteTimestamps.plugin.js index 06c1824ca3..a8d038aa6c 100644 --- a/Plugins/CompleteTimestamps/CompleteTimestamps.plugin.js +++ b/Plugins/CompleteTimestamps/CompleteTimestamps.plugin.js @@ -2,7 +2,7 @@ * @name CompleteTimestamps * @author DevilBro * @authorId 278543574059057154 - * @version 1.6.5 + * @version 1.6.4 * @description Replaces Timestamps with your own custom Timestamps * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -83,8 +83,7 @@ module.exports = (_ => { after: [ "AuditLogEntry", "Embed", - "MessageTimestamp", - "UserMemberSince" + "MessageTimestamp" ] }; @@ -210,18 +209,6 @@ module.exports = (_ => { } } } - - processUserMemberSince (e) { - let bodys = BDFDB.ReactUtils.findChild(e.returnvalue, {props: [["className", BDFDB.disCN.userpopoutsectionbody]], all: true}); - if (bodys[0]) bodys[0].props.children = BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TooltipContainer, { - text: this.formatTimestamp(this.settings.dates.tooltipDate, e.instance.props.userId), - children: BDFDB.ReactUtils.createElement("span", {children: bodys[0].props.children}) - }); - if (e.instance.props.guildMember && e.instance.props.guildMember.joinedAt && bodys[1]) bodys[1].props.children = BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TooltipContainer, { - text: this.formatTimestamp(this.settings.dates.tooltipDate, e.instance.props.guildMember.joinedAt), - children: BDFDB.ReactUtils.createElement("span", {children: bodys[1].props.children}) - }); - } processEmbed (e) { if (!this.settings.places.embed || !e.instance.props.embed || !e.instance.props.embed.timestamp) return;