version upped

This commit is contained in:
Master Kwoth committed 2017-10-30 15:14:41 +01:00
1 parent 0f3004dce7
commit d152611715
2 files changed
+3 -3

No files matched your search

@@ -43,14 +43,14 @@ namespace NadekoBot.Modules.Administration.Services
await user.AddRoleAsync(role).ConfigureAwait(false);
else
{
_log.Info($"Disabled 'Auto assign role' feature on {0} server the role doesn't exist.",
_log.Warn($"Disabled 'Auto assign role' feature on {0} server the role doesn't exist.",
roleId);
DisableAar(user.GuildId);
}
}
catch (Discord.Net.HttpException ex) when (ex.HttpCode == System.Net.HttpStatusCode.Forbidden)
{
_log.Info($"Disabled 'Auto assign role' feature on {0} server because I don't have role management permissions.",
_log.Warn($"Disabled 'Auto assign role' feature on {0} server because I don't have role management permissions.",
roleId);
DisableAar(user.GuildId);
}