SetMuteRole has manage roles permission requirement now x2

This commit is contained in:
Kwoth 2016-10-24 13:53:01 +02:00
parent fc5ebb7ae4
commit 2cafd17de9

View File

@ -428,6 +428,7 @@ namespace NadekoBot.Modules.Administration
[NadekoCommand, Usage, Description, Aliases] [NadekoCommand, Usage, Description, Aliases]
[RequireContext(ContextType.Guild)] [RequireContext(ContextType.Guild)]
[RequirePermission(GuildPermission.ManageRoles)]
[Priority(0)] [Priority(0)]
public Task SetMuteRole(IUserMessage imsg, [Remainder] IRole role) public Task SetMuteRole(IUserMessage imsg, [Remainder] IRole role)
=> SetMuteRole(imsg, role.Name); => SetMuteRole(imsg, role.Name);