Rapptz
fb1f9ac659
Add PermissionOverwrite.is_empty to query empty state of an overwrite.
Fixes #382
10 years ago
Rapptz
7ff7b0fb9c
Add Permissions.update and PermissionOverwrite.update for bulk edits.
This should satisfy those that have a one-line obsession and make things
a little bit easier if you have a dict.
10 years ago
Rapptz
92c3c2804d
Support MESSAGE_REACTION_REMOVE_ALL event.
10 years ago
Rapptz
e8905fd41b
Add missing bucket for endpoints.
10 years ago
Rapptz
44624b7f44
Documentation fixes.
10 years ago
Rapptz
18178c26aa
Add support for clearing a message's reactions.
10 years ago
Rapptz
4c1fd2c9b1
Add atomic add and remove role endpoints to HTTPClient.
These are currently unused since their use is pretty limited.
10 years ago
leovoel
cb370a0ca0
Add FAQ entry about reactions
10 years ago
Rapptz
a312f21bc3
Support message editing with rich embeds.
10 years ago
Rapptz
af46718460
Add support for rich embeds.
10 years ago
Rapptz
a7ba0bb7c4
Version bump to v0.14.3
10 years ago
Rapptz
ae796e0d01
Change buckets for reactions.
10 years ago
khazhyk
8bd242f00b
Fix crash on reaction remove.
Discord can sometimes send integer 0 as the emoji id instead of
null to signify a non-custom emoji, which was causing a crash due
to a 'is not None' check assuming the reaction was for an emoji
with id 0. Probably a discord bug, but preferable to handle here
rather than crash users.
10 years ago
Rapptz
4fa1349869
Version bump to v0.14.2
10 years ago
Rapptz
edcd1750c9
Make Client.wait_for_reaction return a namedtuple instead.
Also fix a bug in the case that emoji parameter is `None`.
10 years ago
Rapptz
f56dbb0379
Fix Reaction not importing.
Also bump version to v0.14.1
10 years ago
Rapptz
e68e3f955d
Forgot the v0.14.0 heading in the docs.
10 years ago
Rapptz
0e856494ed
Version bump to v0.14.0
10 years ago
Rapptz
0e8a92cbac
Add Client.wait_for_reaction to wait for a reaction from a user.
10 years ago
Rapptz
12a3403af3
Change reaction events signature and name.
This changes the event signature to be (reaction, user) instead of
(message, reaction, user) since the reaction data class already has
the message being reacted to as a member.
The name was shortened from on_message_reaction_ to on_reaction_ since
the message prefix was deemed redundant.
10 years ago
khazhyk
4d87b2f817
Inject full Emoji to Reaction if we have it.
Reaction objects with custom Emoji are partial. If we know of this Emoji
(can find it on this client) then inject it. Otherwise, leave it as a
hollow Emoji. We can still react with a hollow Emoji, but can't get other
metadata about it.
10 years ago
khazhyk
c4acc0e1a1
Add support for reactions.
Reactions can be be standard emojis, or custom server emojis.
Adds
- add/remove_reaction
- get_reaction_users
- Messages have new field reactions
- new events - message_reaction_add, message_reaction_remove
- new permission - add_reactions
10 years ago
khazhyk
158ac6bb50
Add around parameter to LogsFromIterator.
10 years ago
khazhyk
e2667a6f66
Refactor LogsFromIterator
10 years ago
khazhyk
98d8c855d8
Fix typo in change_presence validation message
10 years ago
Rapptz
14def4b68e
Fix Member.server_permissions docstring.
10 years ago
Max Kamps
25c262461e
[commands] Fix mistake in Paginator error message.
10 years ago
Rapptz
b39de025c5
Add support for new Manage Webhooks permission.
10 years ago
Max Kamps
8f0d16629f
[commands] Fix Paginator still allowing lines which are too long.
10 years ago
Khazhismel
adf74eef76
Update Client documentation.
10 years ago
Rapptz
18a9b75990
Fix Permissions.manage_emojis bit being incorrect.
10 years ago
Rapptz
2927e5fd39
Fix URL pointing to better method in Client.change_status
10 years ago
Rapptz
1a624cd037
Version bump to v0.13.0
10 years ago
Rapptz
7c0be1cade
[commands] Raise exception if Paginator gets a line that is too big.
Fixes #340
10 years ago
Rapptz
5d8d3ab43a
Add Permissions.manage_emojis
10 years ago
Rapptz
9322bc78be
Add the ability to add, delete, and edit custom emoji.
10 years ago
Rapptz
7272190e2d
Add support for "Do Not Disturb" and "Invisible" statuses.
This deprecates Client.change_status in favour of the newer and more
correct Client.change_presence.
10 years ago
Rapptz
fc1155c160
Remove unused endpoints.py file.
10 years ago
Rapptz
1987cd10df
Version bump to v0.12.0
10 years ago
Rapptz
9fddcf0a21
Update What's New page with v0.12.0 changes.
10 years ago
Rapptz
83d3b72566
Document undocumented Server.voice_client property.
10 years ago
Rapptz
6fec17d7d4
Catch Player errors and gracefully stop them.
This also introduces the concept of the after function taking a single
parameter, the current player. This is useful for error handling, e.g.
checking Player.error.
Fixes #291
10 years ago
Rapptz
96ca7cafee
Add Client.get_user_info to retrieve a User from ID.
10 years ago
Rapptz
7a2b944b72
Fix 404'd FAQ links.
10 years ago
Rapptz
625ed18cff
Add Member.server_permissions to calculate server permissions.
10 years ago
Rapptz
5e20b468c1
Add Server.role_hierarchy to get the current role hierarchy.
10 years ago
Rapptz
13f85b3292
Make Roles totally ordered.
This also fixes a bug with Member.top_role that chose the wrong role
should they have the same position.
10 years ago
Rapptz
09e77e548a
Upgrade requirements to stable aiohttp.
Also lighten up on websockets requirements.
10 years ago
Rapptz
967d43c35b
[commands] Allow coroutine functions in Bot.command_prefix
10 years ago
Rapptz
203c64a9a4
Add support for server verification levels.
This adds a new enum named VerificationLevel to denote said verification
level. This enum will also be used in the Client.edit_server calls
instead of the undocumented int parameter.
10 years ago