From bc2fc456fb928eec7c881dbf36ccdf8bb15e9446 Mon Sep 17 00:00:00 2001 From: zxce3 Date: Sun, 12 Sep 2021 11:34:03 +0700 Subject: [PATCH] update __main__.py --- bot/__main__.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bot/__main__.py b/bot/__main__.py index 1365563..dd3fc35 100644 --- a/bot/__main__.py +++ b/bot/__main__.py @@ -4,15 +4,16 @@ import asyncio from pyrogram import Client, idle -from config import API_ID, API_HASH, BOT_TOKEN +# from config import Veez.API_ID, Veez.API_HASH, Veez.BOT_TOKEN +from config import Veez from bot.videoplayer import app from bot.videoplayer import call_py bot = Client( ":memory:", - API_ID, - API_HASH, - bot_token=BOT_TOKEN, + Veez.API_ID, + Veez.API_HASH, + bot_token=Veez.BOT_TOKEN, plugins=dict(root="bot"), )