Include git sha in binary

This commit is contained in:
runebaas 2018-05-06 03:24:09 +02:00
parent 7238e7177d
commit 59ee6b289a
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
6 changed files with 15 additions and 6 deletions

View file

@ -37,7 +37,7 @@ namespace Geekbot.net.Commands.Utils
eb.WithAuthor(new EmbedAuthorBuilder()
.WithIconUrl(_client.CurrentUser.GetAvatarUrl())
.WithName($"{Constants.Name} V{Constants.BotVersion}"));
.WithName($"{Constants.Name} V{Constants.BotVersion()}"));
var botOwner = await Context.Guild.GetUserAsync(ulong.Parse(_redis.StringGet("botOwner")));
var uptime = DateTime.Now.Subtract(Process.GetCurrentProcess().StartTime);