Genesis commit

This commit is contained in:
Malasaur 2025-11-30 15:47:45 +01:00
commit eb92d2d36f
No known key found for this signature in database
17 changed files with 408 additions and 0 deletions

14
classes.py Normal file
View file

@ -0,0 +1,14 @@
from typing import NotRequired, TypedDict
class ServerPlayersList(TypedDict):
online: int
max: int
list: list[str]
class ServerStatus(TypedDict):
online: bool
icon: NotRequired[str | None]
motd: NotRequired[str]
players: NotRequired[ServerPlayersList]