Make repository URL a property
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
2023-01-16 00:41:45 +01:00
parent a28781b806
commit 8b1c1b4d04
3 changed files with 15 additions and 3 deletions

View File

@@ -105,9 +105,10 @@ public class BotInfo
embedBuilder.addField("Uptime", FormatUtil.getNiceTimeDiff(Cache.getStartupTime()), true);
// issue tracker field
String link = "[Issue tracker](" + Cache.getRepositoryUrl() + "issues)";
embedBuilder.addField("Support",
"[Issue tracker](https://git.beatrice.wtf/bea/HidekoBot/issues)",
true); //todo: we should probably make this a final field in the config class
link, true);
// bot birthday field
embedBuilder.addField("Bot age",