2
0
mirror of https://github.com/Nick80835/microbot synced 2025-08-31 14:38:04 +00:00

add command disabling and a database

This commit is contained in:
Nick80835
2020-08-24 12:07:23 -04:00
parent 48577cdfe6
commit b16bdbb366
5 changed files with 102 additions and 2 deletions

View File

@@ -6,16 +6,19 @@ from importlib import import_module, reload
from os.path import basename, dirname, isfile
from aiohttp import ClientSession
from telethon.tl.types import DocumentAttributeFilename
from .cache import Cache
from .command_handler import CommandHandler
from .database import Database
class Loader():
aioclient = ClientSession()
thread_pool = ThreadPoolExecutor()
cache = Cache(aioclient)
db = Database()
help_dict = {}
help_hidden_dict = {}