Countdown

This commit is contained in:
DarkCat09 2022-12-23 17:38:51 +04:00
parent 403f9005a9
commit 413fabb1a9
2 changed files with 50 additions and 0 deletions

View file

@ -450,3 +450,15 @@ class AternosServer:
"""
return int(self._info['ram'])
@property
def countdown(self) -> int:
"""Server stop countdown
in seconds
Returns:
Stop countdown
"""
value = self._info['countdown']
return int(value or -1)