Skip to content

Commit 11c5f4a

Browse files
committed
Fixed for new telepath version
1 parent 5f8f069 commit 11c5f4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TelepathServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function register(): void
3131
$this->app->singleton("telepath.bot.{$name}", function () use ($config) {
3232

3333
return BotBuilder::token($config->apiToken)
34-
->handlersIn($config->directory ?? app_path('Telepath'))
34+
->handlerPath($config->directory ?? app_path('Telepath'))
3535
->useEventDispatcher(new EventDispatcherBridge(app('events')))
3636
->useServiceContainer(app())
3737
->build();

0 commit comments

Comments
 (0)