MultiServer: add !status command

This commit is contained in:
Fabian Dill
2021-11-04 08:57:27 +01:00
parent 6b0b78d8e0
commit 45f92536a6
2 changed files with 20 additions and 8 deletions

View File

@@ -166,6 +166,7 @@ class CommonContext():
self.server = None
self.server_task = None
# noinspection PyAttributeOutsideInit
def set_getters(self, data_package: dict, network=False):
if not network: # local data; check if newer data was already downloaded
local_package = Utils.persistent_load().get("datapackage", {}).get("latest", {})