mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
Rename discord.types file based on relevant core module file
This commit is contained in:
parent
23fe6b46dd
commit
f49d565d51
@ -67,7 +67,7 @@ class EmbedProxy:
|
|||||||
E = TypeVar('E', bound='Embed')
|
E = TypeVar('E', bound='Embed')
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from discord.types.common import Embed as EmbedData, EmbedType
|
from discord.types.embed import Embed as EmbedData, EmbedType
|
||||||
|
|
||||||
T = TypeVar('T')
|
T = TypeVar('T')
|
||||||
MaybeEmpty = Union[T, _EmptyEmbed]
|
MaybeEmpty = Union[T, _EmptyEmbed]
|
||||||
|
@ -22,8 +22,6 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|||||||
DEALINGS IN THE SOFTWARE.
|
DEALINGS IN THE SOFTWARE.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# This file provides typings for shared entities between the Gateway and HTTP API
|
|
||||||
|
|
||||||
from typing import List, Literal, TypedDict
|
from typing import List, Literal, TypedDict
|
||||||
|
|
||||||
class _EmbedFooterOptional(TypedDict, total=False):
|
class _EmbedFooterOptional(TypedDict, total=False):
|
Loading…
x
Reference in New Issue
Block a user