version upped

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

View File

@ -43,14 +43,14 @@ namespace NadekoBot.Modules.Administration.Services
await user.AddRoleAsync(role).ConfigureAwait(false); await user.AddRoleAsync(role).ConfigureAwait(false);
else 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); roleId);
DisableAar(user.GuildId); DisableAar(user.GuildId);
} }
} }
catch (Discord.Net.HttpException ex) when (ex.HttpCode == System.Net.HttpStatusCode.Forbidden) 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); roleId);
DisableAar(user.GuildId); DisableAar(user.GuildId);
} }

View File

@ -21,7 +21,7 @@ namespace NadekoBot.Core.Services.Impl
private readonly IBotCredentials _creds; private readonly IBotCredentials _creds;
private readonly DateTime _started; private readonly DateTime _started;
public const string BotVersion = "2.2.3"; public const string BotVersion = "2.3.0";
public string Author => "Kwoth#2560"; public string Author => "Kwoth#2560";
public string Library => "Discord.Net"; public string Library => "Discord.Net";