diff --git a/aiosu/models/common.py b/aiosu/models/common.py index c911823..5895e7a 100644 --- a/aiosu/models/common.py +++ b/aiosu/models/common.py @@ -46,11 +46,11 @@ class Achievement(BaseModel): id: int name: str slug: str - desciption: str + description: str grouping: str icon_url: str - mode: Gamemode ordering: int + mode: Optional[Gamemode] = None instructions: Optional[str] = None diff --git a/aiosu/models/event.py b/aiosu/models/event.py index 3a6b96f..54b9b5e 100644 --- a/aiosu/models/event.py +++ b/aiosu/models/event.py @@ -65,7 +65,7 @@ class Event(BaseModel): type: EventType r"""Information on types: https://github.com/ppy/osu-web/blob/master/resources/assets/lib/interfaces/event-json.ts""" parse_error: Optional[bool] = None - achievment: Optional[Achievement] = None + achievement: Optional[Achievement] = None user: Optional[EventUser] = None beatmap: Optional[EventBeatmap] = None beatmapset: Optional[EventBeatmapset] = None