Rapptz
c6410ea9ab
[commands] Clean docstrings in Command.parents and Command.root_parent
2019-04-20 17:01:01 -04:00
Rapptz
6620fcc038
[commands] Consistently mention inheritance of exceptions.
2019-04-20 16:59:54 -04:00
Vexs and Rapptz
bbf9a42f87
[commands] Add Command.parents
...
Make command.root_parent use new command.parents property
2019-04-20 16:59:53 -04:00
Vexs and Rapptz
bb3ebc0ebc
[commands] Add custom exception classes for built-in checks
...
Added:
* MissingRole
* BotMissingRole
* MissingAnyRole
* BotMissingAnyRole
2019-04-20 16:45:37 -04:00
Rapptz
746e20a826
Make Message.ack an actual coroutine function.
2019-04-20 13:49:38 -04:00
Rapptz
30d87ca557
Add currently undocumented premium_tier field.
...
Needs more testing to find out what it is.
2019-04-20 13:49:13 -04:00
Rapptz
390bce6033
Explicit namespacing in the PermissionOverwrite example.
...
Apparently some people get confused by this.
2019-04-19 18:29:13 -04:00
Rapptz
4ca934eb22
[commands] Missing an extra ] in the documented return type.
2019-04-19 18:29:12 -04:00
Vexs and Rapptz
dd84773f45
[commands] Allow passing cls to the commands.group decorator
2019-04-19 18:29:11 -04:00
Rapptz
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
Rapptz
f5c38c3559
Add abc.GuildChannel.clone to clone a channel with another name.
...
Fixes #2093
2019-04-18 22:31:54 -04:00
Rapptz
ceb154718d
Add note about overriding Client.close vs Client.logout
2019-04-18 20:04:11 -04:00
Rapptz
c3bad4eeab
Make context documentation in migration a bit more clear.
2019-04-18 19:49:57 -04:00
Rapptz
a7f3300821
Add versionchanged to Message.delete
2019-04-18 07:58:29 -04:00
sirtezza451 and Rapptz
dbe946a767
[commands] Update default on_command_error
2019-04-18 07:58:28 -04:00
Vexs and Rapptz
0f48b78987
Add delay kwarg to message.delete()
...
Refactor delete_after kwargs to use new delay kwarg
2019-04-18 07:56:02 -04:00
Vexs and Rapptz
f38b199d6a
Add support for <:name:id> format for adding reactions
...
Adjust FAQ to match.
2019-04-17 22:42:00 -04:00
khazhyk and Rapptz
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
Rapptz
296d4bf580
[commands] Add new MessageConverter to commands prose page.
2019-04-17 22:41:58 -04:00
retke and Rapptz
440db2a568
[commands] Add MessageConverter to fetch messages by URL or ID.
2019-04-17 20:47:21 -04:00
Rapptz
812578f0c9
Remove legacy nsfw check.
2019-04-16 20:29:13 -04:00
Rapptz
4843f61eaf
Make discord --version a bit more helpful.
2019-04-16 18:13:57 -04:00
Rapptz
2fe42d5e81
Remove Python 3.5 check in __main__.py
2019-04-16 17:35:04 -04:00
Rapptz
6f26a4aad8
Improve performance of value -> enum by about 5x.
2019-04-15 21:30:47 -04:00
Danny and GitHub
2a301a4eb4
[tasks] Fix assignment of tuple when appending
2019-04-15 14:49:52 -04:00
Rapptz
f71fd33eba
Fix UnboundLocalError when RequestsWebhookAdapter raises an error.
2019-04-15 07:16:23 -04:00
Rapptz
cc68cfb896
Add notes to all relationship endpoints that they don't work on bots.
2019-04-14 22:18:14 -04:00
Rapptz
14d66e7b9c
Internal consistency with message related HTTPClient methods
2019-04-14 21:05:20 -04:00
Rapptz
14a593b026
Bump version to 1.1.0a
2019-04-14 17:58:56 -04:00
Rapptz
519f0c07ea
Add compute_prune_count to Guild.prune_members
...
Fix #2085
2019-04-14 17:33:57 -04:00
Rapptz
7a1102ccf0
[commands] Use message creation as the reference time in cooldowns
2019-04-14 17:33:56 -04:00
Rapptz
ec7a701ceb
[commands] Allow passing reference time to update_rate_limit
2019-04-14 16:57:47 -04:00
Rapptz
9b089c9a7b
Fix abc.GuildChannel.overwrites returning None keys.
...
This has potential for data loss as a consequence of how the function
works.
2019-04-14 07:19:22 -04:00
Rapptz
321efb11ed
Fix typo in on_raw_reaction_remove docs.
2019-04-14 06:05:11 -04:00
Rapptz
e3631ade4c
Fix attribute error in Widget.__repr__
2019-04-13 18:13:53 -04:00
Rapptz
7c091282ce
Add equality comparisons between two assets and hashing an asset.
2019-04-13 17:22:25 -04:00
Lorenzo and GitHub
b969016340
Bool fix in TextChannel.purge documentation.
2019-04-13 15:27:20 +02:00
Rapptz
6574c97a8b
[commands] Support callables in Greedy converter
2019-04-13 07:28:26 -04:00
Rapptz
ac1b9f5628
[commands] Fix lambda converters in non-module contexts.
...
Not sure why anyone would do this but might as well fix it.
2019-04-13 07:15:54 -04:00
apple502j and GitHub
024e57efc2
Change slowmode max value in docs
2019-04-13 18:56:53 +09:00
NCPlayz and Rapptz
84e86ff666
Add Permissions.stream
...
Add stream to Permissions classmethods
2019-04-12 20:58:11 -04:00
Dante Dam and Rapptz
497894e756
Improvements to intro docs.
2019-04-12 20:56:40 -04:00
Steve C and Rapptz
ac2cda1ffc
[tasks] set internal task to None after canceling
2019-04-12 20:56:40 -04:00
apple502j and GitHub
d15a0f541b
Remove "needs python 3.5+" from async iter section
2019-04-12 20:15:54 +09:00
Rapptz
e46842a7cd
[tasks] Add before_loop and after_loop decorators
2019-04-12 04:08:42 -04:00
Rapptz
4770f5a958
Export tasks extension
2019-04-12 03:22:50 -04:00
Rapptz
015404b01c
[commands] Add versionadded to dm_only
2019-04-12 03:21:49 -04:00
Vexs and Rapptz
b6b55e820f
Update FAQ with some common tags
...
Pointed references to random.cat to use their aws api
Added details about custom and unicode emojis to how to add a reaction
Added watching example to presence changing
Added new fetch methods to specific model FAQ
2019-04-12 03:21:49 -04:00
Rapptz
4cf96107ae
[tasks] Document version added
2019-04-11 08:26:46 -04:00
Rapptz
4513dac7a3
[tasks] Ensure total number of seconds is not less than 0.
2019-04-11 08:21:45 -04:00