Merge pull request #996 from theoddball/dev

Rotate Role Color needs ManageRoles permission.
This commit is contained in:
Master Kwoth 2017-01-23 01:28:54 +01:00 committed by GitHub
commit f7af4c9584

View File

@ -25,6 +25,7 @@ namespace NadekoBot.Modules.Utility
[NadekoCommand, Usage, Description, Aliases] [NadekoCommand, Usage, Description, Aliases]
[RequireContext(ContextType.Guild)] [RequireContext(ContextType.Guild)]
[RequireUserPermission(GuildPermission.ManageRoles)]
[OwnerOnly] [OwnerOnly]
public async Task RotateRoleColor(int timeout, IRole role, params string[] hexes) public async Task RotateRoleColor(int timeout, IRole role, params string[] hexes)
{ {