Add deny perm for addReactions on mute
Added the permission for the channel override when muting to also include the denial of "addReactions."
This commit is contained in:
parent
67f0cfb717
commit
390a637c08
@ -30,7 +30,7 @@ namespace NadekoBot.Services.Administration
|
||||
public event Action<IGuildUser, MuteType> UserMuted = delegate { };
|
||||
public event Action<IGuildUser, MuteType> UserUnmuted = delegate { };
|
||||
|
||||
private static readonly OverwritePermissions denyOverwrite = new OverwritePermissions(sendMessages: PermValue.Deny, attachFiles: PermValue.Deny);
|
||||
private static readonly OverwritePermissions denyOverwrite = new OverwritePermissions(addReactions: PermValue.Deny, sendMessages: PermValue.Deny, attachFiles: PermValue.Deny);
|
||||
|
||||
private readonly Logger _log = LogManager.GetCurrentClassLogger();
|
||||
private readonly DiscordSocketClient _client;
|
||||
|
Loading…
Reference in New Issue
Block a user