maybe last missing step
This commit is contained in:
parent
78572ef176
commit
036083448d
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@ class Twitch : KordExKoinComponent {
|
|||
content = "Channel points redeemed: ${event.customRewardId.get()}"
|
||||
this.addFile("replay.osr", ChannelProvider(null) { ByteReadChannel(replay!!.replayFile) })
|
||||
}
|
||||
// remove the replay from the database
|
||||
ReplayCollection().delete(event.message)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue