Nadir Chowdhury
|
89456022cf
|
Add `__all__` to remaining modules
|
4 years ago |
Rapptz
|
ed1341012b
|
Add Embed.__bool__
Fixes #6661
|
4 years ago |
Rapptz
|
1d5805ebcb
|
Revert "Remove unused group functionality"
This reverts commit d69b2f0af5 .
|
4 years ago |
Steve C
|
3c9aed9102
|
Fix AttributeError on HTTPClient.send_file to be send_files
|
4 years ago |
Nadir Chowdhury
|
7f0a398c1e
|
Use `format_map` instead of `format` for `Route.url`
|
4 years ago |
Zomatree
|
ad68a1d04e
|
Add source_channel and source_guild to Webhook
|
4 years ago |
Nadir Chowdhury
|
9f0c701a7a
|
use `typing.AsyncIterator` for iterators
|
4 years ago |
Nadir Chowdhury
|
7a34de1570
|
[commands] Use typing.get_type_hints to resolve ForwardRefs
|
4 years ago |
Rapptz
|
72275a73fa
|
Use non-underscore TypeVar in enum code
|
4 years ago |
Rapptz
|
7e3c5f3faf
|
Fix some regressions from create_task change
|
4 years ago |
Rapptz
|
d69b2f0af5
|
Remove unused group functionality
|
4 years ago |
Rapptz
|
84e2ff0bc7
|
Reformat HTTPClient and add interaction endpoints
|
4 years ago |
Rapptz
|
008432c76a
|
Make enum code work with typecheckers
This also makes it so invalid enum values fall back to a proxy type
that still works similar to actual values.
|
4 years ago |
Rapptz
|
8cece19b22
|
Add on_interaction event and Interaction class.
This is the first pass at the functionality. It's currently a bit
incomplete.
|
4 years ago |
Rapptz
|
1e7f139313
|
Add support for setting application_id
|
4 years ago |
Rapptz
|
9ab58d302d
|
[commands] Fix classmethod converters not working.
Protocols sure are annoying.
|
4 years ago |
Rapptz
|
ee5bb07c02
|
[commands] Revert conversion code back to how it was originally
|
4 years ago |
ToxicKidz
|
0efb720cec
|
[commands] Fix AttributeError for classes missing convert attribute
|
4 years ago |
Rapptz
|
8da6b47a36
|
Update changelog for v1.7.1
|
4 years ago |
Rapptz
|
6d74514729
|
[commands] Fix logic in Cog.has_error_handler()
|
4 years ago |
Michael H
|
682b73abb6
|
[commands] Address incorrect use of subclass (from type perspective)
This is a follow up from #6641
|
4 years ago |
Michael H
|
d0476e98df
|
[commands] Add more type information to public API of converters
|
4 years ago |
Nadir Chowdhury
|
686a54eb10
|
Remove 3.6 check for `loop.shutdown_asyncgens()`
|
4 years ago |
Nadir Chowdhury
|
2ff24a27b5
|
Use `asyncio.create_task` over `asyncio.ensure_future`
|
4 years ago |
Nadir Chowdhury
|
7a7c4b4d62
|
Remove fail-safe for retrieving all tasks
|
4 years ago |
Michael H
|
83bd76504a
|
Use covariant TypeVar for protocol
|
4 years ago |
Michael H
|
fbe6e2f520
|
[commands] Fix @classmethod converters
|
4 years ago |
Logan
|
3abb2fde56
|
Fix versionadded not showing in docs for Attachment.content_type
|
4 years ago |
Vaskel
|
88be8cc5be
|
Remove deprecated client methods
|
4 years ago |
Rapptz
|
a3a6f88936
|
Add discord.utils.utcnow() helper function to ease migration
|
4 years ago |
Rapptz
|
93a92e6e1b
|
Remove special casing of MAX_ASYNCIO_SECONDS in sleep_until
This compatibility code goes away in Python versions greater than 3.7
|
4 years ago |
Rapptz
|
ff7094ce96
|
Convert datetimes to aware datetimes with UTC.
Naive datetimes will now be interpreted as local time throughout
the library.
|
4 years ago |
Rapptz
|
fd58371f53
|
Remove some lingering userbot classes in the documentation
|
4 years ago |
Rapptz
|
7ba437cece
|
Use 3.8 for ReadTheDocs builds
|
4 years ago |
James
|
34ab772653
|
Use typing.Protocol instead of abc.ABCMeta
|
4 years ago |
James
|
fe54b3cb92
|
Flatten AsyncIterator.flatten
|
4 years ago |
Rapptz
|
54288879e2
|
Remove userbot functionality
This has a lot of legacy and cruft so there may be some stuff I've
missed but this first pass is enough to get a clear separation.
|
4 years ago |
Rapptz
|
59aa1a0e5f
|
Remove asyncio.Task subclass in preference to task names
|
4 years ago |
Rapptz
|
94bd1b9822
|
Convert two missing places to f-strings
|
4 years ago |
Rapptz
|
4d44872511
|
Remove encoding header from generated code
|
4 years ago |
Rapptz
|
adaf7c6192
|
[commands] Use positional only parameter for Context.invoke
|
4 years ago |
Rapptz
|
9d39b135f4
|
Modernize code to use f-strings
This also removes the encoding on the top, since Python 3 does it by
default. It also changes some methods to use `yield from`.
|
4 years ago |
Rapptz
|
9fc2ab9c99
|
Bump minimum Python version to 3.8
|
4 years ago |
Rapptz
|
68e379bc8b
|
Version bump for development
|
4 years ago |
Rapptz
|
757dd92272
|
Version bump to v1.7
|
4 years ago |
Rapptz
|
f6df66a971
|
Add missing documentation for StoreChannelConverter
|
4 years ago |
Rapptz
|
6d63cf0d5d
|
Add missing StoreChannel documentation
|
4 years ago |
Rapptz
|
834a7d80aa
|
Fix StoreChannel reference in changelog
|
4 years ago |
Rapptz
|
f8964b1b32
|
Add content_type to changelog
|
4 years ago |
Zomatree
|
f8d7be5b78
|
Add content_type to Attachment
|
4 years ago |