Rotate Role Color needs ManageRoles permission.

This commit is contained in:
The Oddball 2017-01-22 17:27:45 -07:00 committed by GitHub
parent 915059c8b8
commit 58973b9082

View File

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