messageLogger: make ignoreChannels also ignore threads (#1709)
This commit is contained in:
parent
f1b3b3c0a3
commit
315fcf1972
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue