SetMuteRole has manage roles permission requirement now x2
This commit is contained in:
parent
fc5ebb7ae4
commit
2cafd17de9
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user