diff --git a/src/NadekoBot/Modules/Administration/AutoAssignRoleCommands.cs b/src/NadekoBot/Modules/Administration/AutoAssignRoleCommands.cs index fd8bb6875..3b22690f9 100644 --- a/src/NadekoBot/Modules/Administration/AutoAssignRoleCommands.cs +++ b/src/NadekoBot/Modules/Administration/AutoAssignRoleCommands.cs @@ -16,6 +16,7 @@ namespace NadekoBot.Modules.Administration [NadekoCommand, Aliases] [RequireContext(ContextType.Guild)] [UserPerm(GuildPerm.ManageRoles)] + [BotPerm(GuildPerm.ManageRoles)] public async Task AutoAssignRole([Leftover] IRole role) { var guser = (IGuildUser) ctx.User; @@ -47,6 +48,7 @@ namespace NadekoBot.Modules.Administration [NadekoCommand, Aliases] [RequireContext(ContextType.Guild)] [UserPerm(GuildPerm.ManageRoles)] + [BotPerm(GuildPerm.ManageRoles)] public async Task AutoAssignRole() { if (!_service.TryGetRoles(ctx.Guild.Id, out var roles))