from core.dict_object import DictObject


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

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

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

    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"
    ]

    slaves = [DictObject(x) for x in slaves if password != ""]
