setCommandHandler('start', new \commands\StartCommand()); $bot->setCommandHandler('hash', new \commands\HashCommand()); $bot->handleGetUpdates(true);