refactor: renamed ownerID to creatorID

Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
moonleay 2024-02-13 19:44:09 +01:00
parent 404e043da1
commit a7e656bcbe
Signed by: moonleay
GPG key ID: 82667543CCD715FB
3 changed files with 4 additions and 4 deletions

View file

@ -29,7 +29,7 @@ plugins {
}
//lilJudd version 2
val ownerID = 372703841151614976L
val creatorID = 372703841151614976L
group = "net.moonleay.liljudd"
version = System.getenv("CI_COMMIT_TAG")?.let { "$it-${System.getenv("CI_COMMIT_SHORT_SHA")}-prod" }
?: System.getenv("CI_COMMIT_SHORT_SHA")?.let { "$it-dev" }
@ -120,7 +120,7 @@ val templateSrc = project.rootDir.resolve("src/main/templates")
val templateDest = project.projectDir.resolve("build/generated/templates")
val templateProps = mapOf(
"version" to project.version as String,
"ownerID" to ownerID,
"creatorID" to creatorID,
"kordversion" to kordver,
"coroutinesversion" to coroutinesver,
"ktorversion" to ktorver,

View file

@ -133,7 +133,7 @@ object Bot {
this.embed {
this.title = "Oops. Something went wrong."
this.description = "The bot encountered an error during execution.\n" +
"Please report this to <@${BuildConstants.ownerID}>.\n" +
"Please report this to <@${BuildConstants.creatorID}>.\n" +
"The errorid is \"$stamp.stk\""
this.field {
this.name = "Error message:"

View file

@ -20,7 +20,7 @@ package net.moonleay.liljudd.build
internal object BuildConstants {
const val version = "${version}"
const val ownerID = "${ownerID}"
const val creatorID = "${creatorID}"
const val kordVersion = "${kordversion}"
const val coroutinesVersion = "${coroutinesversion}"
const val ktorVersion = "${ktorversion}"