Merge branch 'master' of https://github.com/danog/MadelineProto
This commit is contained in:
commit
dfef5e3458
@ -96,6 +96,7 @@ class API extends APIFactory
|
||||
public function serialize($filename)
|
||||
{
|
||||
Logger::log(['Serializing MadelineProto...']);
|
||||
|
||||
return Serialization::serialize($filename, $this);
|
||||
}
|
||||
}
|
||||
|
@ -73,7 +73,6 @@ if ($MadelineProto === false) {
|
||||
\danog\MadelineProto\Logger::log(['Registering new user'], \danog\MadelineProto\Logger::NOTICE);
|
||||
$authorization = $MadelineProto->complete_signup(readline('Please enter your first name: '), readline('Please enter your last name (can be empty): '));
|
||||
}
|
||||
|
||||
} else {
|
||||
$MadelineProto->bot_login(getenv('BOT_TOKEN'));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user