1
0

and this one

This commit is contained in:
Jannik Reimers 2024-11-24 03:27:12 +01:00
parent 9f53f67843
commit dc0b8e7ae0
Signed by: jansel
GPG Key ID: 39C62D7D5233CFD0

View File

@ -9,6 +9,7 @@ import dev.kordex.core.commands.Arguments
import dev.kordex.core.commands.application.slash.publicSubCommand
import dev.kordex.core.commands.converters.impl.channel
import dev.kordex.core.commands.converters.impl.optionalRole
import dev.kordex.core.commands.converters.impl.optionalString
import dev.kordex.core.commands.converters.impl.string
import dev.kordex.core.extensions.Extension
import dev.kordex.core.extensions.publicSlashCommand
@ -70,7 +71,7 @@ class StreamerCommand : Extension() {
name = "role"
description = "Role to ping when the streamer goes live"
}
val message by string {
val message by optionalString {
name = "message"
description = "Message to send when the streamer goes live. Possible placeholders (put in curly braces!!): url, name, title, category, role (if set)"
}