diff --git a/src/packetserver/client/bulletins.py b/src/packetserver/client/bulletins.py index 32665bf..2bc2fb2 100644 --- a/src/packetserver/client/bulletins.py +++ b/src/packetserver/client/bulletins.py @@ -11,6 +11,13 @@ class BulletinWrapper: raise ValueError("Was not given a bulletin dictionary.") self.data = data + def __repr__(self): + return f"" + + @property + def id(self) -> int: + return self.data['id'] + @property def created(self) -> datetime.datetime: return datetime.datetime.fromisoformat(self.data['created_at'])