diff --git a/discord/embeds.py b/discord/embeds.py index c44d8b9ec..d08c9874e 100644 --- a/discord/embeds.py +++ b/discord/embeds.py @@ -67,7 +67,7 @@ class EmbedProxy: E = TypeVar('E', bound='Embed') if TYPE_CHECKING: - from discord.types.common import Embed as EmbedData, EmbedType + from discord.types.embed import Embed as EmbedData, EmbedType T = TypeVar('T') MaybeEmpty = Union[T, _EmptyEmbed] diff --git a/discord/types/common.py b/discord/types/embed.py similarity index 96% rename from discord/types/common.py rename to discord/types/embed.py index 4b4a3e8fb..b38c9314c 100644 --- a/discord/types/common.py +++ b/discord/types/embed.py @@ -22,8 +22,6 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ -# This file provides typings for shared entities between the Gateway and HTTP API - from typing import List, Literal, TypedDict class _EmbedFooterOptional(TypedDict, total=False):