1
0

Change discord message
All checks were successful
Build & Publish / build (push) Successful in 3m20s

This commit is contained in:
Jannik Reimers 2025-04-04 00:11:11 +02:00
parent 937936ca0f
commit 07a95691f0
Signed by: jansel
GPG Key ID: 39C62D7D5233CFD0

View File

@ -41,7 +41,7 @@ class Twitch : KordExKoinComponent {
.getChannelOf<GuildMessageChannel>(Snowflake(1130954956892029060)) .getChannelOf<GuildMessageChannel>(Snowflake(1130954956892029060))
val replay = ReplayCollection().get(event.message) val replay = ReplayCollection().get(event.message)
channel.createMessage { channel.createMessage {
content = "Channel points redeemed: ${event.customRewardId.get()}" content = "Replay redeemed by: ${event.user.name}"
this.addFile("replay.osr", ChannelProvider(null) { ByteReadChannel(replay!!.replayFile) }) this.addFile("replay.osr", ChannelProvider(null) { ByteReadChannel(replay!!.replayFile) })
} }
// remove the replay from the database // remove the replay from the database