2021-04-09 10:17:38 +02:00
|
|
|
from izihawa_utils import env
|
|
|
|
from library.configurator import Configurator
|
|
|
|
|
|
|
|
|
|
|
|
def get_config():
|
|
|
|
return Configurator([
|
|
|
|
'nexus/bot/configs/base.yaml',
|
|
|
|
'nexus/bot/configs/%s.yaml?' % env.type,
|
2021-04-09 14:10:16 +02:00
|
|
|
'nexus/bot/configs/logging.yaml',
|
2021-04-23 17:23:02 +02:00
|
|
|
], env_prefix='NEXUS_BOT')
|
2021-04-09 10:17:38 +02:00
|
|
|
|
|
|
|
|
|
|
|
config = get_config()
|