mirror of https://github.com/kami-blue/client
[cleanup] Usage of `GITHUB_LINK` to make more sense
Signed-off-by: Dominika <sokolov.dominika@gmail.com>
This commit is contained in:
parent
d7538483fc
commit
40f0c444db
|
@ -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 = "カミブル";
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue