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
Rapptz
5b244a7002
Add changelog for v1.7
4 years ago
Rapptz
efc30a146e
Guard for `None` in VocalGuildChannel.members
4 years ago
Rapptz
421c0cd455
[commands] Add missing versionadded on StoreChannelConverter
4 years ago
Nadir Chowdhury
e961fdeae0
Rework the reaction roles example
4 years ago
DoggieLicc
36318bd45c
[commands] Add StoreChannelConverter
4 years ago
Nadir Chowdhury
1b2688518e
Implement StageChannel and related methods
4 years ago
Nadir Chowdhury
e8a9726ad2
[docs] Add rtc_region parameter for Guild.create_voice_channel
4 years ago
Tarek
6524869ddd
Implement voice region changing for voice channels
4 years ago
Rapptz
3576e2ee01
Add support for Permissions.request_to_speak
4 years ago
Nadir Chowdhury
6887d3946a
[docs] Fix fetch_members/guilds documentation
4 years ago
Mikey
e66141e002
[docs] suggest presence in constructor instead of change_presence
4 years ago
apple502j
954dd09e18
Deprecate Client.logout
4 years ago
Rapptz
8a24a93010
Bring back older background task example under a new name
4 years ago
Rapptz
e359aeb122
Fix background_task example to actually work
4 years ago
Sebastian Law
5ed47cacc7
Update background_task example to use ext.tasks
4 years ago
Rapptz
0c3be9713d
Raise error if position could not be resolved in GuildChannel.move
4 years ago
Rapptz
7f0db1f35a
Return early if no kwargs are given to GuildChannel.move
4 years ago
Rapptz
a30ad6acf2
Ignore moving category channels to another category
4 years ago
Rapptz
b850c9cd5d
Add GuildChannel.move helper method to help with moving channels
Moving channels is seen as a complicated task, so hopefully this
abstracts a lot of it for users. There is no bulk move helper yet
since I'm unsure how the API for that should be.
4 years ago