1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-19 16:33:36 +03:00

Don't hardcode logo's branch in /about

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Macintxsh 2024-04-07 15:36:27 +03:00
parent defa3c2e4a
commit f2b6ed3e44
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

@ -100,7 +100,7 @@ public class AboutCommandGroup : CommandGroup
.WithSmallTitle(string.Format(Messages.AboutBot, bot.Username), bot)
.WithDescription(builder.ToString())
.WithColour(ColorsList.Cyan)
.WithImageUrl("https://raw.githubusercontent.com/TeamOctolings/Octobot/master/docs/octobot-banner.png")
.WithImageUrl($"https://raw.githubusercontent.com/TeamOctolings/Octobot/{BuildInfo.Branch}/docs/octobot-banner.png")
.WithFooter(string.Format(Messages.Version, BuildInfo.Version))
.Build();