messageLogger: make ignoreChannels also ignore threads (#1709)

main
AutumnVN 1 year ago committed by GitHub
parent f1b3b3c0a3
commit 315fcf1972
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save