import logging as logger
from queue import Queue
from telegram import Bot
from botInfo import self_id
from botTools import query_token
from telegram.ext import Dispatcher
from botSessionWeb import nga, nga_token, get_driver
from apscheduler.schedulers.background import BackgroundScheduler


dra = Bot(query_token(self_id))
update_queue = Queue()
dp = Dispatcher(dra, update_queue, use_context=True)

scheduler = BackgroundScheduler(misfire_grace_time=60)

import logging as logger
from queue import Queue
from telegram import Bot
from botInfo import self_id
from botTools import query_token
from telegram.ext import Dispatcher
from botSessionWeb import nga, nga_token, get_driver
from apscheduler.schedulers.background import BackgroundScheduler


dra = Bot(query_token(self_id))
update_queue = Queue()
dp = Dispatcher(dra, update_queue, use_context=True)

scheduler = BackgroundScheduler(misfire_grace_time=60)
