mirror of
https://github.com/house-of-vanity/conf_bot.git
synced 2025-07-06 14:24:08 +00:00
16 lines
320 B
Python
16 lines
320 B
Python
![]() |
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)
|