i18n support added

This commit is contained in:
mercury
2023-04-09 19:40:18 +04:00
parent 06ca54756c
commit d52bb6dab3
4 changed files with 211 additions and 65 deletions
+3 -2
View File
@@ -3,8 +3,9 @@
// require __DIR__ . '/debug.php';
require __DIR__ . '/bot.php';
require __DIR__ . '/config.php';
require __DIR__ . '/i18n.php';
$bot = new Bot($c['key']);
$bot->setwebhook($c['key']);
$bot = new Bot($c['key'], $i);
$bot->setwebhook();
$bot->setcommands();
$bot->syncPortClients();