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
68e379bc8b
Version bump for development
4 years ago
Rapptz
757dd92272
Version bump to v1.7
4 years ago
Zomatree
f8d7be5b78
Add content_type to Attachment
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
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
apple502j
954dd09e18
Deprecate Client.logout
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
Lilly Rose Berner
f60e91d700
Add support for fail_if_not_exists in MessageReference
4 years ago
Sebastian Law
d6501159e7
[docs] copy signature from overridden and inherited methods
4 years ago
Rapptz
862d509d2e
[commands] Add support for stripping whitespace after the prefix
This is configured with the strip_after_prefix option in `Bot.__init__`
4 years ago
Rapptz
c4c2cbf6d2
[commands] Remove nullability from help command implementation
Fixes #5154
4 years ago
Nadir Chowdhury
4d4c19f9b5
deprecate User.relationships
4 years ago
Edwin
31ee3fafc1
Add remove_markdown helper function
4 years ago
Rapptz
4aee7fed5d
[commands] Only remove top level commands on cog load failure
4 years ago
Nihaal Sangha
a4d29e8cfd
Add scopes to utils.oauth_url
4 years ago
Mikey
d61486278f
[commands] allow arbitrary callables in cooldown
4 years ago
Maselkov
baa1ab058b
Add an optional seed parameter for Colour.random
4 years ago
Rapptz
8657edfc99
Fallback to empty string for unavailable guild __str__
4 years ago
Rapptz
5cb5126548
Make Attachment hashable and castable to str
4 years ago
pikaninja
5a93e80e87
Implicitly cast Embed construction parameters to str
4 years ago
Rapptz
1c8d1b0289
Recreate aiohttp.FormData objects during request retries
Fixes #6531
4 years ago
Sebastian Law
a131e11c5e
[commands] fix documented type for Command.checks
4 years ago
Sebastian Law
a06d00f554
Make `await` text appear in async Member method docs
4 years ago
Alex Nørgaard
456a5dfa59
Update create_dm documentation to say it's a coroutine
4 years ago
z03h
fbb7ac6be1
Add roles to guild.estimate_pruned_members
4 years ago
jack1142
caa3b4e8f4
[commands] Include group args in command signature
4 years ago
Steve C
7836046621
Mark User.avatar_url as attribute in Intents.members docstring
The line currently comes out to
`User.avatar (User.avatar_url() and User.avatar_url_as())`
but `User.avatar_url` is not callable.
4 years ago
Sebastian Law
a30a694e36
[commands] fix Context.channel property documented type
4 years ago
Nadir Chowdhury
7d345e8e4e
remove trailing whitespace
4 years ago
Nihaal Sangha
a3f700c11f
Fix references to snowflakes being max 21 long
4 years ago
Nadir Chowdhury
d01500bccd
Fix typo with guild_discovery_grace_period_final_warning
4 years ago
TheOneMusic
259c3909a8
Fix Permissions.all_channel documentation to link attributes
4 years ago
Nadir Chowdhury
31bbf7434b
Allow AuditLogEntry to be Hashable
4 years ago
Rapptz
4c4d75dc29
Disallow empty sequences in Guild.query_members user_id parameter
4 years ago
Sebastian Law
a2730a32dc
Add guild_id attribute to RawMessageUpdateEvent
4 years ago
Sebastian Law
f7a4bef4ff
[tasks] remove redundant condition in Loop.next_iteration
self._task is only None if the Loop has never been started before,
which means None should be returned always, regardless of how
many seconds was passed into the constructor
this didn't break anything before because self._next_iteration will
be None as well if self._task is None.
4 years ago