don't hardcode the branch

This commit is contained in:
Macintxsh 2024-04-07 15:23:14 +03:00
parent 2d2ebd0abe
commit 0f4ef3059b
Signed by: mctaylors
GPG key ID: 7181BEBE676903C1
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ public static class BuildInfo
private const string Commit = ThisAssembly.Git.Commit;
private const string Branch = ThisAssembly.Git.Branch;
public const string Branch = ThisAssembly.Git.Branch;
public static bool IsDirty => ThisAssembly.Git.IsDirty;

View file

@ -118,7 +118,7 @@ public class AboutCommandGroup : CommandGroup
.WithSmallTitle(string.Format(Messages.AboutBot, bot.Username), bot)
.WithDescription(builder.ToString())
.WithColour(ColorsList.Cyan)
.WithImageUrl("https://git.mctaylors.ru/TeamInklings/OctobotStealth/media/branch/stealth/docs/octobot-banner.png")
.WithImageUrl($"https://git.mctaylors.ru/TeamInklings/OctobotStealth/media/branch/{BuildInfo.Branch}/docs/octobot-banner.png")
.WithFooter(string.Format(Messages.Version, BuildInfo.Version))
.Build();