Typehint discord.Embed and introduce discord.types subpackage

The discord.types subpackage is currently only used to do type hinting
of API payloads, it's very much incomplete right now and it'll be a
rather long process.

discord.Embed was typehinted and formatted using black.
This commit is contained in:
Rapptz
2021-04-07 05:38:01 -04:00
parent bda3afcad7
commit 23fe6b46dd
4 changed files with 249 additions and 90 deletions

View File

@ -50,7 +50,7 @@ setup(name='discord.py',
"Issue tracker": "https://github.com/Rapptz/discord.py/issues",
},
version=version,
packages=['discord', 'discord.ext.commands', 'discord.ext.tasks'],
packages=['discord', 'discord.types', 'discord.ext.commands', 'discord.ext.tasks'],
license='MIT',
description='A Python wrapper for the Discord API',
long_description=readme,