diff --git a/src/OneBot/Driver/Event/EventDispatcher.php b/src/OneBot/Driver/Event/EventDispatcher.php index 3dc687f..7bdafec 100644 --- a/src/OneBot/Driver/Event/EventDispatcher.php +++ b/src/OneBot/Driver/Event/EventDispatcher.php @@ -21,7 +21,7 @@ public function dispatch(object $event): object // TODO: 在调用 listener 前先判断 isPropagationStopped $listener[1]($event); } catch (StopException $exception) { - ob_logger()->debug('EventLoop ' . $event . ' stopped'); + // ob_logger()->debug('EventLoop ' . $event . ' stopped'); if ($event instanceof DriverEvent) { $event->setPropagationStopped(); } diff --git a/src/OneBot/global_defines.php b/src/OneBot/global_defines.php index edee1ea..ed08b76 100644 --- a/src/OneBot/global_defines.php +++ b/src/OneBot/global_defines.php @@ -13,7 +13,7 @@ use ZM\Logger\ConsoleLogger; const ONEBOT_VERSION = '12'; -const ONEBOT_LIBOB_VERSION = '0.6.1'; +const ONEBOT_LIBOB_VERSION = '0.6.2'; const ONEBOT_JSON = 1; const ONEBOT_MSGPACK = 2;