Commit 4e187cc9 authored by Him188's avatar Him188

Fix Message.repeat

parent 06205cb6
...@@ -247,8 +247,10 @@ inline fun Message.repeat(count: Int): MessageChain { ...@@ -247,8 +247,10 @@ inline fun Message.repeat(count: Int): MessageChain {
return this.asMessageChain() return this.asMessageChain()
} }
return buildMessageChain(count) { return buildMessageChain(count) {
repeat(count) {
add(this@repeat) add(this@repeat)
} }
}
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment