From 315fcf1972760231cdfa96c30c40035d2c1c7583 Mon Sep 17 00:00:00 2001 From: AutumnVN Date: Wed, 6 Sep 2023 23:50:20 +0700 Subject: messageLogger: make ignoreChannels also ignore threads (#1709) --- src/plugins/messageLogger/index.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/messageLogger/index.tsx') diff --git a/src/plugins/messageLogger/index.tsx b/src/plugins/messageLogger/index.tsx index 0be616a..9c66560 100644 --- a/src/plugins/messageLogger/index.tsx +++ b/src/plugins/messageLogger/index.tsx @@ -206,6 +206,7 @@ export default definePlugin({ ignoreSelf && message.author?.id === myId || ignoreUsers.includes(message.author?.id) || ignoreChannels.includes(message.channel_id) || + ignoreChannels.includes(ChannelStore.getChannel(message.channel_id)?.parent_id) || ignoreGuilds.includes(ChannelStore.getChannel(message.channel_id)?.guild_id); }, -- cgit