chore: added credits for the provided data

Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
moonleay 2023-10-05 11:38:34 +02:00
parent 06edbb9288
commit 886d891787
Signed by: moonleay
GPG key ID: 82667543CCD715FB

View file

@ -24,11 +24,11 @@ import net.moonleay.botendo.build.BuildConstants
import net.moonleay.lilJudd.util.EmbedColor
import net.moonleay.lilJudd.util.MessageUtil
class VersionExtension : Extension() {
override val name = "version"
class InfoExtension : Extension() {
override val name = "info"
override suspend fun setup() {
publicSlashCommand {
name = "version"
name = "info"
description = "Show infos about the bot"
this.action {
MessageUtil.sendEmbedForPublicSlashCommand(
@ -38,7 +38,8 @@ class VersionExtension : Extension() {
"Lil' Judd ***v." + BuildConstants.version + "***\n" +
"Kord-Extensions ***v." + BuildConstants.kordVersion + "***\n" +
"Coroutines ***v." + BuildConstants.coroutinesVersion + "***\n" +
"Krontab ***v." + BuildConstants.krontabVersion + "***"
"Krontab ***v." + BuildConstants.krontabVersion + "***\n\n" +
"Splatoon 3 api data provided by splatoon3.ink"
)
}
}