From 8fc625fe2df27633f76e34420b160a00db35bf8b Mon Sep 17 00:00:00 2001 From: SylveonDeko <59923820+SylveonDeko@users.noreply.github.com> Date: Tue, 1 Oct 2024 13:42:33 -0400 Subject: [PATCH] ignore threads. Oops. --- .../Modules/Server Management/Services/ChannelCommandService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mewdeko/Modules/Server Management/Services/ChannelCommandService.cs b/src/Mewdeko/Modules/Server Management/Services/ChannelCommandService.cs index bff7e9b4b..e2bf3c19f 100644 --- a/src/Mewdeko/Modules/Server Management/Services/ChannelCommandService.cs +++ b/src/Mewdeko/Modules/Server Management/Services/ChannelCommandService.cs @@ -386,7 +386,7 @@ public async Task RestoreOriginalPermissions(IGuild guild) /// private static bool IsRelevantChannel(IGuildChannel channel) { - return channel is ITextChannel or IVoiceChannel or IForumChannel; + return channel is (ITextChannel or IVoiceChannel or IForumChannel) and not IThreadChannel; }