From 3d4262596985fce858d4368bd8448cc466894e6d Mon Sep 17 00:00:00 2001 From: mercury Date: Fri, 10 Feb 2023 19:32:57 +0400 Subject: [PATCH] fix init.php --- app/init.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();