diff options
Diffstat (limited to 'discord')
| -rw-r--r-- | discord/embeds.py | 2 | ||||
| -rw-r--r-- | discord/types/embed.py (renamed from discord/types/common.py) | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/discord/embeds.py b/discord/embeds.py index c44d8b9e..d08c9874 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 index 4b4a3e8f..b38c9314 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): |