diff --git a/app/init.php b/app/init.php index 3fc2007..0f96ee9 100644 --- a/app/init.php +++ b/app/init.php @@ -4,6 +4,6 @@ require __DIR__ . '/bot.php'; require __DIR__ . '/config.php'; -$bot = new Bot($key); -$bot->setwebhook($key); +$bot = new Bot($c['key']); +$bot->setwebhook($c['key']); $bot->setcommands();