(msg: Api.Message, trigger?: Api.Message)
| 4412 | |
| 4413 | async askFromReply(msg: Api.Message, trigger?: Api.Message): Promise<void> { |
| 4414 | const replyMsg = await safeGetReplyMessage(msg); |
| 4415 | requireUser(!!replyMsg, "至少需要一条提示"); |
| 4416 | const question = getMessageText(replyMsg).trim(); |
| 4417 | await this.runQuestion(msg, question, trigger); |
| 4418 | } |
| 4419 | |
| 4420 | async handleQuestion( |
| 4421 | msg: Api.Message, |
| 4422 | question: string, |
no test coverage detected