Commit 4e187cc9 authored by Him188's avatar Him188

Fix Message.repeat

parent 06205cb6
......@@ -247,7 +247,9 @@ inline fun Message.repeat(count: Int): MessageChain {
return this.asMessageChain()
}
return buildMessageChain(count) {
add(this@repeat)
repeat(count) {
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