from core.dict_object import DictObject


class BotConfig:
    username = ""
    password = ""
    character = ""
    superadmin = []

    database = DictObject({
        "type": "mariadb",
        "username": "",
        "password": "",
        "host": "",
        "port": 3306,
        "name": ""})

    shared_db = DictObject({
        "type": "mariadb",
        "username": "",
        "password": "",
        "host": "",
        "port": 3306,
        "name": ""
    })

    slaves = [
        # {"username": "account_name", "password": "password", "character": "character_name"},
    ]

    server = DictObject({
        "dimension": "5",
        "host": "chat.d1.funcom.com",
        "port": 7105
    })

    module_paths = [
        "modules/core",
        "modules/standard",
        "modules/raidbot"
    ]

    # DO NOT TOUCH THIS LINE
    slaves = [DictObject(x) for x in slaves]
