1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-23 01:49:30 +08:00

Merge branch 'LmeSzinc:master' into wait

This commit is contained in:
LA-DI-DA
2023-04-01 12:39:56 +08:00
committed by GitHub

View File

@@ -77,8 +77,8 @@ class CampaignRun(CampaignEvent):
self.config.Scheduler_Enable = False
handle_notify(
self.config.Error_OnePushConfig,
title=f"Alas <{self.config_name}> campaign finished",
content=f"<{self.config_name}> {self.name} reached run count limit"
title=f"Alas <{self.config.config_name}> campaign finished",
content=f"<{self.config.config_name}> {self.name} reached run count limit"
)
return True
# Lv120 limit
@@ -87,8 +87,8 @@ class CampaignRun(CampaignEvent):
self.config.Scheduler_Enable = False
handle_notify(
self.config.Error_OnePushConfig,
title=f"Alas <{self.config_name}> campaign finished",
content=f"<{self.config_name}> {self.name} reached level limit"
title=f"Alas <{self.config.config_name}> campaign finished",
content=f"<{self.config.config_name}> {self.name} reached level limit"
)
return True
# Oil limit
@@ -108,8 +108,8 @@ class CampaignRun(CampaignEvent):
self.config.Scheduler_Enable = False
handle_notify(
self.config.Error_OnePushConfig,
title=f"Alas <{self.config_name}> campaign finished",
content=f"<{self.config_name}> {self.name} got new ship"
title=f"Alas <{self.config.config_name}> campaign finished",
content=f"<{self.config.config_name}> {self.name} got new ship"
)
return True
# Event limit