Skip to content

Commit

Permalink
ignore threads. Oops.
Browse files Browse the repository at this point in the history
  • Loading branch information
SylveonDeko committed Oct 1, 2024
1 parent e79f0cc commit 8fc625f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ public async Task RestoreOriginalPermissions(IGuild guild)
/// </summary>
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;
}


Expand Down

0 comments on commit 8fc625f

Please sign in to comment.