From 58973b9082b0cf35ed07b4cd67743213fe6abb06 Mon Sep 17 00:00:00 2001 From: The Oddball Date: Sun, 22 Jan 2017 17:27:45 -0700 Subject: [PATCH] Rotate Role Color needs ManageRoles permission. --- src/NadekoBot/Modules/Utility/Utility.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Utility/Utility.cs b/src/NadekoBot/Modules/Utility/Utility.cs index 5ffae5fc..bea8206f 100644 --- a/src/NadekoBot/Modules/Utility/Utility.cs +++ b/src/NadekoBot/Modules/Utility/Utility.cs @@ -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) { @@ -346,4 +347,4 @@ namespace NadekoBot.Modules.Utility await JsonConvert.SerializeObject(grouping, Formatting.Indented).ToStream().ConfigureAwait(false), title, title).ConfigureAwait(false); } } -} \ No newline at end of file +}