mirror of
https://github.com/danog/AltervistaUserBot.git
synced 2024-11-26 20:04:37 +01:00
Small bugfix
This commit is contained in:
parent
1df07f05b5
commit
4600c8ed08
8
bot.php
8
bot.php
@ -26,6 +26,11 @@ if (!file_exists(__DIR__.'/av.version') || file_get_contents(__DIR__.'/av.versio
|
||||
}
|
||||
}
|
||||
|
||||
require __DIR__.'/madeline.php';
|
||||
require __DIR__.'/functions.php';
|
||||
require __DIR__.'/_config.php';
|
||||
|
||||
|
||||
if (!file_exists('bot.lock')) {
|
||||
touch('bot.lock');
|
||||
}
|
||||
@ -45,9 +50,6 @@ while (!$locked) {
|
||||
}
|
||||
}
|
||||
|
||||
require __DIR__.'/madeline.php';
|
||||
require __DIR__.'/functions.php';
|
||||
require __DIR__.'/_config.php';
|
||||
|
||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline', ['logger' => ['logger_level' => 5]]);
|
||||
$MadelineProto->start();
|
||||
|
Loading…
Reference in New Issue
Block a user