File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ public function __construct($api_key, $bot_name)
168
168
$ this ->setUploadPath (BASE_PATH . '/../Upload ' );
169
169
170
170
//Add default system commands path
171
- $ this ->addCommandsPath (BASE_COMMANDS_PATH . '/System ' );
171
+ $ this ->addCommandsPath (BASE_COMMANDS_PATH . '/SystemCommands ' );
172
172
173
173
Request::initialize ($ this );
174
174
}
@@ -465,10 +465,10 @@ public function processUpdate(Update $update)
465
465
466
466
//Load admin commands
467
467
if ($ this ->isAdmin ($ message ->getFrom ()->getId ())) {
468
- $ this ->addCommandsPath (BASE_COMMANDS_PATH . '/Admin ' , false );
468
+ $ this ->addCommandsPath (BASE_COMMANDS_PATH . '/AdminCommands ' , false );
469
469
}
470
470
471
- $ this ->addCommandsPath (BASE_COMMANDS_PATH . '/User ' , false );
471
+ $ this ->addCommandsPath (BASE_COMMANDS_PATH . '/UserCommands ' , false );
472
472
473
473
$ type = $ message ->getType ();
474
474
if ($ type === 'command ' ) {
You can’t perform that action at this time.
0 commit comments