Merge pull request #1403 from hakufu/1.4
Add deny perm for addReactions on mute
This commit is contained in:
commit
6124c3dce8
@ -30,7 +30,7 @@ namespace NadekoBot.Services.Administration
|
|||||||
public event Action<IGuildUser, MuteType> UserMuted = delegate { };
|
public event Action<IGuildUser, MuteType> UserMuted = delegate { };
|
||||||
public event Action<IGuildUser, MuteType> UserUnmuted = 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 Logger _log = LogManager.GetCurrentClassLogger();
|
||||||
private readonly DiscordSocketClient _client;
|
private readonly DiscordSocketClient _client;
|
||||||
|
Loading…
Reference in New Issue
Block a user