mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-24 14:30:09 +08:00
Fix Message.repeat
This commit is contained in:
parent
06205cb69b
commit
4e187cc95b
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user