Rename discord.types file based on relevant core module file
This commit is contained in:
		| @@ -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): | ||||||
		Reference in New Issue
	
	Block a user