[cleanup] Usage of `GITHUB_LINK` to make more sense

Signed-off-by: Dominika <sokolov.dominika@gmail.com>
This commit is contained in:
Dominika 2021-01-11 13:08:46 -05:00
parent d7538483fc
commit 40f0c444db
No known key found for this signature in database
GPG Key ID: B4A5A6DCA70F861F
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ public class KamiMod {
public static final String DOWNLOADS_API = "https://kamiblue.org/api/v1/downloads.json";
public static final String CAPES_JSON = "https://raw.githubusercontent.com/kami-blue/cape-api/capes/capes.json";
public static final String GITHUB_LINK = "https://github.com/kami-blue/";
public static final String GITHUB_LINK = "https://github.com/kami-blue";
public static final String WEBSITE_LINK = "https://kamiblue.org";
public static final String KAMI_KATAKANA = "カミブル";

View File

@ -19,7 +19,7 @@ object CreditsCommand : ClientCommand(
executeAsync {
val contributors = getContributors() ?: run {
MessageSendHelper.sendErrorMessage("Failed to retrieve contributors from Github API.\n" +
"Checkout the page manually: &9${KamiMod.GITHUB_LINK}client/graphs/contributors")
"Checkout the page manually: &9${KamiMod.GITHUB_LINK}/client/graphs/contributors")
return@executeAsync
}

View File

@ -34,7 +34,7 @@ object DiscordNotifs : Module(
val url = setting("URL", "unchanged")
val pingID = setting("PingID", "unchanged")
val avatar = setting("Avatar", KamiMod.GITHUB_LINK + "assets/raw/assets/assets/icons/kami.png")
val avatar = setting("Avatar", KamiMod.GITHUB_LINK + "/assets/raw/assets/assets/icons/kami.png")
private val server: String get() = mc.currentServerData?.serverIP ?: "the server"
private val timer = TickTimer(TimeUnit.SECONDS)