forked from TeamInklings/Octobot
don't hardcode the branch
This commit is contained in:
parent
2d2ebd0abe
commit
0f4ef3059b
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Reference in a new issue