diff --git a/composer.json b/composer.json index 8b74985..f4a343d 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "require": { "php": "^8.2", "nunomaduro/termwind": "^1.0|^2.0", - "nutgram/nutgram": "^4.17.0" + "nutgram/nutgram": "dev-single-polling-update" }, "require-dev": { "illuminate/testing": "^9.0|^10.0|^11.0", diff --git a/src/Console/ListenCommand.php b/src/Console/ListenCommand.php new file mode 100644 index 0000000..3c94ddb --- /dev/null +++ b/src/Console/ListenCommand.php @@ -0,0 +1,25 @@ +setRunningMode(SingleUpdate::class); + $bot->run(); + } + } +}