forked from DiscordBots/lilJudd
chore: added credits for the provided data
Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
06edbb9288
commit
886d891787
1 changed files with 5 additions and 4 deletions
|
@ -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"
|
||||
)
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue