Skip to content

Commit

Permalink
damn.
Browse files Browse the repository at this point in the history
  • Loading branch information
NotJansel committed Nov 6, 2024
1 parent 0820327 commit 92a0ec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class EventHooks : Extension() {
event<ReadyEvent> {
action {
println("Bot is ready!")
kord.editPresence { listening("to the database") }
kord.editPresence { listening("the database") }
// check every entry in the database and enable the stream event listener
StreamerCollection().collection.find().toList().forEach {
twitchClient!!.clientHelper.enableStreamEventListener(it.name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class StreamerCommand : Extension() {
}
action {
val streamer = arguments.streamer
StreamerCollection().updateData(guild!!.id, channel.id, streamer, arguments.role)
StreamerCollection().updateData(guild!!.id, arguments.channel, streamer, arguments.role)
twitchClient!!.clientHelper.enableStreamEventListener(streamer)
respond {
content = "Added streamer $streamer"
Expand Down

0 comments on commit 92a0ec2

Please sign in to comment.