File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 88use Illuminate \Support \Collection ;
99use Illuminate \Support \Str ;
1010use SergiX44 \Nutgram \Handlers \Handler ;
11- use SergiX44 \Nutgram \Handlers \Type \Command as NutgramCommand ;
11+ use SergiX44 \Nutgram \Handlers \Type \InternalCommand ;
1212use SergiX44 \Nutgram \Nutgram ;
1313use function Termwind \render ;
1414
@@ -62,7 +62,7 @@ protected function getHandlers(Nutgram $bot): Collection
6262
6363 return collect (Arr::dot ($ handlers ))
6464 ->map (fn (Handler $ handler , string $ key ) => [
65- 'handler ' => $ this ->getHandlerName ($ key , $ handler instanceof NutgramCommand ),
65+ 'handler ' => $ this ->getHandlerName ($ key , $ handler instanceof InternalCommand ),
6666 'pattern ' => $ handler ->getPattern (),
6767 'callable ' => $ this ->getCallableName ($ handler ),
6868 ])
You can’t perform that action at this time.
0 commit comments