3
2
forked from Dniel97/artemis

Merge branch 'develop' of https://gitea.tendokyu.moe/Hay1tsme/artemis into develop

This commit is contained in:
Midorica 2023-10-10 18:25:01 -04:00
commit dc02d60690
2 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ class ChuniBase:
"gameMessageList": [{
"id": 1,
"type": 1,
"message": f"Welcome to {self.core_cfg.server.name} network!" if not self.game_config.server.news_msg else self.game_config.server.news_msg,
"message": f"Welcome to {self.core_cfg.server.name} network!" if not self.game_cfg.server.news_msg else self.game_cfg.server.news_msg,
"startDate": "2017-12-05 07:00:00.0",
"endDate": "2099-12-31 00:00:00.0"
}]

View File

@ -22,7 +22,7 @@ class ChuniServerConfig:
@property
def news_msg(self) -> str:
CoreConfig.get_config_field(
return CoreConfig.get_config_field(
self.__config, "chuni", "server", "news_msg", default=""
)