82a39eb148
Add cached_message to on_raw_message_edit event
...
Also add documentation for this behavior
2019-05-09 05:53:56 -04:00
792b31833a
Mention what can be done during initialisation in embeds.
2019-05-07 00:24:25 -04:00
bdea50e1db
[commands] Better note for Command.invoke
2019-05-05 03:15:38 -04:00
41dee3f401
Translation sync with Crowdin
2019-05-04 02:55:53 -04:00
446b79241c
Actually use multiple checks in the examples for checks.
2019-05-01 23:57:50 -04:00
abb9c067cc
Add log line to show if we disconnected normally.
2019-05-01 02:49:52 -04:00
91e00d8426
[tasks] Add way to query cancellation state for Loop.after_loop
...
Fixes #2121
2019-04-30 01:45:15 -04:00
4dee175d2a
Add support for voice kicking.
2019-04-30 00:34:20 -04:00
40cac30da1
[commands] Fix MessageConverter not inheriting from Converter
...
Closes #2126
2019-04-29 23:37:27 -04:00
55e3e242ff
[tasks] Remove support for awaitables due to gotchas.
...
Fixes #2079
2019-04-29 23:34:20 -04:00
cef8677c68
Proper location of versionadded
2019-04-29 23:34:19 -04:00
0dcbdda974
Fixed a typo in GuildChannel.overwrites docstring
2019-04-29 23:34:18 -04:00
b8e45afe9a
Fixed TextChannel edit method missing slowmode unit
2019-04-29 23:34:17 -04:00
7675dd03ca
Added missing get_role method to the faq.
2019-04-29 23:34:16 -04:00
7dfaa5e9ae
Add read method to attachment objects
...
Refactor save to use new read method
2019-04-29 23:31:17 -04:00
05d4f7f962
[commands] Fix Context.send_help to work with the copied HelpCommand
2019-04-29 00:08:08 -04:00
ad5beed8dd
[commands] Copy HelpCommand instances to prevent race conditions.
...
Fixes #2123
Slight breaking change if someone had an expectation that no copies
were made behind the scene (which is sensible), however writing code
that relies on this expectation is probably buggy anyway.
2019-04-29 00:05:46 -04:00
f9e95a35f9
Fix USER_UPDATE changes not triggering for member instances.
...
Also add a ClientUser.locale attribute.
2019-04-28 06:36:12 -04:00
de6240f1e7
Rewrite loop cleanup code (again...) and remove signal handling.
...
This should hopefully be the last time I touch this.
2019-04-26 01:57:33 -04:00
439dd24056
voice room → voice channel in event documentation
2019-04-25 23:24:13 -04:00
186d9a7f9c
Use a regular boolean instead of asyncio.Event for close status.
2019-04-25 01:57:32 -04:00
6dcd68b8d7
[commands] Allow passing current
to more cooldown mapping methods.
...
Also adds a CooldownMapping.update_rate_limit helper function.
2019-04-24 23:26:33 -04:00
d80d4145b1
Add Asset.read() to retrieve assets into bytes objects
2019-04-20 15:12:52 -07:00
5a7b5cd14b
[commands] Allow passing of a message to NoPrivateMessage again.
...
Prevents an accidental breaking change.
2019-04-20 17:28:44 -04:00
188bd4e708
[commands] DM channels are NSFW in commands.is_nsfw check.
2019-04-20 17:27:04 -04:00
919dbcafb3
Consistent use of __all__ to prevent merge conflicts.
2019-04-20 17:20:58 -04:00
c6410ea9ab
[commands] Clean docstrings in Command.parents and Command.root_parent
2019-04-20 17:01:01 -04:00
6620fcc038
[commands] Consistently mention inheritance of exceptions.
2019-04-20 16:59:54 -04:00
bbf9a42f87
[commands] Add Command.parents
...
Make command.root_parent use new command.parents property
2019-04-20 16:59:53 -04:00
bb3ebc0ebc
[commands] Add custom exception classes for built-in checks
...
Added:
* MissingRole
* BotMissingRole
* MissingAnyRole
* BotMissingAnyRole
2019-04-20 16:45:37 -04:00
746e20a826
Make Message.ack an actual coroutine function.
2019-04-20 13:49:38 -04:00
30d87ca557
Add currently undocumented premium_tier field.
...
Needs more testing to find out what it is.
2019-04-20 13:49:13 -04:00
390bce6033
Explicit namespacing in the PermissionOverwrite example.
...
Apparently some people get confused by this.
2019-04-19 18:29:13 -04:00
4ca934eb22
[commands] Missing an extra ] in the documented return type.
2019-04-19 18:29:12 -04:00
dd84773f45
[commands] Allow passing cls to the commands.group decorator
2019-04-19 18:29:11 -04:00
eb4de55f6d
Add reason to TextChannel.create_webhook
...
The reason parameter does not work with webhook deletes or edits so
they're not added. Probably a Discord bug.
2019-04-18 22:31:55 -04:00
f5c38c3559
Add abc.GuildChannel.clone to clone a channel with another name.
...
Fixes #2093
2019-04-18 22:31:54 -04:00
ceb154718d
Add note about overriding Client.close vs Client.logout
2019-04-18 20:04:11 -04:00
c3bad4eeab
Make context documentation in migration a bit more clear.
2019-04-18 19:49:57 -04:00
a7f3300821
Add versionchanged to Message.delete
2019-04-18 07:58:29 -04:00
dbe946a767
[commands] Update default on_command_error
2019-04-18 07:58:28 -04:00
0f48b78987
Add delay kwarg to message.delete()
...
Refactor delete_after kwargs to use new delay kwarg
2019-04-18 07:56:02 -04:00
f38b199d6a
Add support for <:name:id> format for adding reactions
...
Adjust FAQ to match.
2019-04-17 22:42:00 -04:00
b1fae0861a
add read-only cached_messages property to Client
...
For those of us who want access to this sweet trove of zero hop messages
2019-04-17 22:41:59 -04:00
296d4bf580
[commands] Add new MessageConverter to commands prose page.
2019-04-17 22:41:58 -04:00
440db2a568
[commands] Add MessageConverter to fetch messages by URL or ID.
2019-04-17 20:47:21 -04:00
812578f0c9
Remove legacy nsfw check.
2019-04-16 20:29:13 -04:00
4843f61eaf
Make discord --version a bit more helpful.
2019-04-16 18:13:57 -04:00
2fe42d5e81
Remove Python 3.5 check in __main__.py
2019-04-16 17:35:04 -04:00
6f26a4aad8
Improve performance of value -> enum by about 5x.
2019-04-15 21:30:47 -04:00