14 lines
276 B
PHP
14 lines
276 B
PHP
<?php
|
|
|
|
date_default_timezone_set(getenv('TZ'));
|
|
|
|
// require __DIR__ . '/debug.php';
|
|
require __DIR__ . '/bot.php';
|
|
require __DIR__ . '/config.php';
|
|
require __DIR__ . '/i18n.php';
|
|
|
|
$bot = new Bot($c['key'], $i);
|
|
$bot->setwebhook();
|
|
$bot->setcommands();
|
|
$bot->syncPortClients();
|