mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-02 14:25:38 +08:00
cs fix
This commit is contained in:
@@ -219,11 +219,10 @@ class OneBot12Adapter extends ZMPlugin
|
||||
/**
|
||||
* [CALLBACK] 处理需要等待回复的 bot()->prompt() 会话消息
|
||||
*
|
||||
* @param BotContext $ctx 机器人上下文
|
||||
* @param OneBotEvent $event 当前事件对象
|
||||
* @throws InterruptException
|
||||
*/
|
||||
public function handleContextPrompt(BotContext $ctx, OneBotEvent $event)
|
||||
public function handleContextPrompt(OneBotEvent $event)
|
||||
{
|
||||
// 必须支持协程才能用
|
||||
if (($co = Adaptive::getCoroutine()) === null) {
|
||||
|
||||
Reference in New Issue
Block a user