1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 23:34:44 +01:00
This commit is contained in:
Daniil Gentili 2023-08-20 17:28:35 +02:00
parent e1f0682be9
commit d58b7289c9
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -66,4 +66,4 @@ if (!getenv('TOKEN')) {
throw new AssertionError("You must define a TOKEN environment variable with the token of the bot!");
}
MyEventHandler::startAndLoopBot('libtgvoipbot.madeline', getenv('TOKEN'));
MyEventHandler::startAndLoopBot($argv[1] ?? 'libtgvoipbot.madeline', getenv('TOKEN'));