mirror of
https://github.com/house-of-vanity/conf_bot.git
synced 2025-07-06 22:34:07 +00:00
Init commit
This commit is contained in:
15
settings.py
Normal file
15
settings.py
Normal file
@ -0,0 +1,15 @@
|
||||
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)
|
Reference in New Issue
Block a user