PermRole should deny messages in threads too, closes #407

This commit is contained in:
Kwoth
2023-03-23 16:13:20 +01:00
parent 598d3b8967
commit 42f00c08fa

View File

@@ -19,6 +19,7 @@ public class MuteService : INService
private static readonly OverwritePermissions _denyOverwrite = new(addReactions: PermValue.Deny,
sendMessages: PermValue.Deny,
sendMessagesInThreads: PermValue.Deny,
attachFiles: PermValue.Deny);
public event Action<IGuildUser, IUser, MuteType, string> UserMuted = delegate { };