Updated bot version

This commit is contained in:
Kwoth 2016-10-24 12:40:18 +02:00
parent d34a429c1c
commit 5d542f3eaa
3 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ namespace NadekoBot
SetupLogger(); SetupLogger();
_log = LogManager.GetCurrentClassLogger(); _log = LogManager.GetCurrentClassLogger();
_log.Info("Starting NadekoBot v" + typeof(NadekoBot).GetTypeInfo().Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion); _log.Info("Starting NadekoBot v" + StatsService.BotVersion);
Credentials = new BotCredentials(); Credentials = new BotCredentials();

View File

@ -8,7 +8,7 @@ using System.Runtime.InteropServices;
[assembly: AssemblyCompany("")] [assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("NadekoBot")] [assembly: AssemblyProduct("NadekoBot")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyInformationalVersion("1.0-alpha")] [assembly: AssemblyInformationalVersion("1.0")]
// Setting ComVisible to false makes the types in this assembly not visible // Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from // to COM components. If you need to access a type in this assembly from

View File

@ -17,7 +17,7 @@ namespace NadekoBot.Services.Impl
private DateTime started; private DateTime started;
private int commandsRan = 0; private int commandsRan = 0;
public string BotVersion => "1.0-beta1"; public const string BotVersion = "1.0-rc1";
public string Heap => Math.Round((double)GC.GetTotalMemory(false) / 1.MiB(), 2).ToString(); public string Heap => Math.Round((double)GC.GetTotalMemory(false) / 1.MiB(), 2).ToString();