From 528a6d9b6141786306c4bd75811429236ebf74e3 Mon Sep 17 00:00:00 2001 From: FloatingMilkshake Date: Fri, 25 Oct 2024 15:43:49 -0400 Subject: [PATCH] Account for threads --- Events/MessageEvent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Events/MessageEvent.cs b/Events/MessageEvent.cs index 6741c9b..02d8151 100644 --- a/Events/MessageEvent.cs +++ b/Events/MessageEvent.cs @@ -149,7 +149,7 @@ public static async Task MessageHandlerAsync(DiscordClient client, MockDiscordMe { // This user's tracking is filtered to channels; check the channel before relaying the msg to the tracking thread var channels = JsonConvert.DeserializeObject>(trackingChannels); - if (channels.Contains(channel.Id)) + if (channels.Contains(channel.Id) || channels.Contains(channel.Parent.Id)) { await RelayTrackedMessageAsync(client, message); }