Commit ca0e50a3 authored by ryoii's avatar ryoii

Http api fix sendQuoteMessage route name

parent 767e3bbe
......@@ -54,7 +54,7 @@ fun Application.messageModule() {
}
}
miraiVerify<SendDTO>("/quoteMessage") {
miraiVerify<SendDTO>("/sendQuoteMessage") {
it.session.messageQueue.quoteCache[it.target]?.apply {
quoteReply(it.messageChain.toMessageChain(group))
} ?: throw NoSuchElementException()
......
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