Change discord message
All checks were successful
Build & Publish / build (push) Successful in 3m20s
All checks were successful
Build & Publish / build (push) Successful in 3m20s
This commit is contained in:
parent
937936ca0f
commit
07a95691f0
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user