From 10f0a002dac362e6376bb8fe60b9eb47e8ab3159 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Tue, 27 Sep 2022 12:36:43 +0200 Subject: [PATCH] Update 0BDFDB.plugin.js --- Library/0BDFDB.plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index 6ef7211d4e..2cca69e461 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -3167,7 +3167,7 @@ module.exports = (_ => { BDFDB.MessageUtils = {}; BDFDB.MessageUtils.isSystemMessage = function (message) { - return message && !BDFDB.DiscordConstants.USER_MESSAGE_TYPES.has(message.type) && (message.type !== BDFDB.DiscordConstants.MessageTypes.APPLICATION_COMMAND || message.interaction == null); + return message && message.type !== BDFDB.DiscordConstants.MessageTypes.DEFAULT && message.type !== BDFDB.DiscordConstants.MessageTypes.REPLY && (message.type !== BDFDB.DiscordConstants.MessageTypes.CHAT_INPUT_COMMAND || message.interaction == null); }; BDFDB.MessageUtils.rerenderAll = function (instant) { BDFDB.TimeUtils.clear(BDFDB.MessageUtils.rerenderAll.timeout);