Ping, Pong

This commit is contained in:
nelle 2024-07-21 03:42:19 -06:00
parent 4a0d60eb6e
commit 5ea4a907ca

View file

@ -34,14 +34,16 @@ fun main(args: Array<String>) {
}
}
fun demo() = commands("Demo") {
slash("Hello", "A 'Hello World' command.") {
// Commands
fun utility() = commands("Utility") {
slash("Ping", "Pong!") {
execute {
respond("Hello World!")
respond("Pong!")
}
}
}
// Listeners
fun testListeners() = listeners {
on<MessageCreateEvent> {
require(message.author?.isBot == false)