mirror of
https://github.com/house-of-vanity/conf_bot.git
synced 2025-07-06 22:34:07 +00:00
16 lines
318 B
Python
Executable File
16 lines
318 B
Python
Executable File
from worker import MessageWorker
|
|
from database import DataBase
|
|
from configparser import ConfigParser
|
|
|
|
global parser
|
|
parser = ConfigParser()
|
|
parser.read('assets/settings.ini')
|
|
|
|
global db
|
|
db = DataBase(
|
|
basefile='main.db',
|
|
scheme='assets/main.db.sql')
|
|
|
|
global worker
|
|
worker = MessageWorker(db=db)
|