Change discord message
This commit is contained in:
parent
937936ca0f
commit
07a95691f0
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class Twitch : KordExKoinComponent {
|
|||
.getChannelOf<GuildMessageChannel>(Snowflake(1130954956892029060))
|
||||
val replay = ReplayCollection().get(event.message)
|
||||
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) })
|
||||
}
|
||||
// remove the replay from the database
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue