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:
@@ -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 = {}
|
||||
|
Reference in New Issue
Block a user