diff --git a/melisa/__init__.py b/melisa/__init__.py index eee9584..36a7b0d 100644 --- a/melisa/__init__.py +++ b/melisa/__init__.py @@ -2,7 +2,7 @@ # Full MIT License can be found in `LICENSE.txt` at the project root. from .client import * -from .models import Intents, Snowflake +from .models import * from .exceptions import * __package__ = "melisa" diff --git a/melisa/models/__init__.py b/melisa/models/__init__.py index 015a9c4..42e98ae 100644 --- a/melisa/models/__init__.py +++ b/melisa/models/__init__.py @@ -4,3 +4,4 @@ from .app import * from .guild import * from .user import * +from .message import * diff --git a/melisa/models/message/message.py b/melisa/models/message/message.py index 4e61f15..710ea48 100644 --- a/melisa/models/message/message.py +++ b/melisa/models/message/message.py @@ -7,6 +7,7 @@ from dataclasses import dataclass from enum import IntEnum from typing import List, Any, Optional +from ... import Thread from ...utils import Snowflake, Timestamp from ...utils import APIModelBase from ...utils.types import APINullable @@ -190,7 +191,7 @@ class Message(APIModelBase): message_reference: APINullable[List] = None flags: APINullable[int] = None interaction: APINullable[List] = None - thread: APINullable[List[Any]] = None + thread: APINullable[List[Thread]] = None components: APINullable[List] = None sticker_items: APINullable[List] = None stickers: APINullable[List] = None