From 03768736d3564ed47080d90fa695d598abd91926 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Wed, 6 Jan 2021 11:46:34 +0100 Subject: [PATCH] stuff --- Library/0BDFDB.plugin.js | 2 +- Library/_res/BDFDB.data.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index 6100ee21a7..3f3978de95 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -1814,7 +1814,7 @@ module.exports = (_ => { } else BDFDB.TimeUtils.suppress(data.callOriginalMethod, `originalMethod of ${methodName} in ${module.constructor ? module.constructor.displayName || module.constructor.name : "module"}`)(); callInstead = false, stopCall = false; - return methodName == "render" && data.returnValue === undefined ? null : data.returnValue; + return (methodName == "render" || methodName == "default") && data.returnValue === undefined ? null : data.returnValue; }; for (let key of Object.keys(originalMethod)) module[methodName][key] = originalMethod[key]; if (!module[methodName].__originalFunction) { diff --git a/Library/_res/BDFDB.data.json b/Library/_res/BDFDB.data.json index 3e6c1357ae..4f7edef31b 100644 --- a/Library/_res/BDFDB.data.json +++ b/Library/_res/BDFDB.data.json @@ -4,7 +4,7 @@ "Channel": {"props": ["getRecipientId", "isManaged", "getGuildId"]}, "Guild": {"props": ["getIconURL", "getMaxEmojiSlots", "getRole"]}, "Invite": {"props": ["getExpiresAt", "isExpired"]}, - "Message": {"props": ["getReaction", "getAuthorName", "getChannelId"]}, + "Message": {"props": ["getReaction", "isEdited", "getChannelId"]}, "Messages": {"props": ["jumpToMessage", "hasAfterCached", "forEach"]}, "Relationship": {"protos": ["comparator"], "array": true}, "Timestamp": {"props": ["add", "dayOfYear", "hasAlignedHourOffset"]},