Rename discord.types file based on relevant core module file

This commit is contained in:
Rapptz 2021-04-07 05:50:54 -04:00
parent 23fe6b46dd
commit f49d565d51
2 changed files with 1 additions and 3 deletions

View File

@ -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]

View File

@ -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):