uhh why isnt this working
This commit is contained in:
parent
614b040a1e
commit
ccbdf5622b
3 changed files with 3 additions and 1 deletions
|
@ -17,6 +17,7 @@ class EventHooks : Extension() {
|
|||
// check every entry in the database and enable the stream event listener
|
||||
StreamerCollection().collection.find().toList().forEach {
|
||||
twitchClient!!.clientHelper.enableStreamEventListener(it.name)
|
||||
println("Enabled stream event listener for ${it.name}")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ import dev.kordex.core.extensions.Extension
|
|||
import dev.kordex.core.extensions.publicSlashCommand
|
||||
|
||||
class StreamerCommand : Extension() {
|
||||
override val name = "streamer"
|
||||
override val name = "streaming"
|
||||
override suspend fun setup() {
|
||||
publicSlashCommand {
|
||||
name = "streamer"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue