c635ce2526
Simple parser for CHANNEL_PINS_UPDATE
2017-01-09 03:52:44 -05:00
20041ea756
Implement AutoShardedClient for transparent sharding.
...
This allows people to run their >2,500 guild bot in a single process
without the headaches of IPC/RPC or much difficulty.
2017-01-07 23:19:39 -05:00
9c000c5a72
Fix documentation to work.
2017-01-03 09:52:02 -05:00
d1d54a468a
Rename Server to Guild everywhere.
2017-01-03 09:51:54 -05:00
92c3c2804d
Support MESSAGE_REACTION_REMOVE_ALL event.
2016-11-21 02:49:50 -05:00
af46718460
Add support for rich embeds.
2016-11-13 05:07:58 -05:00
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.
2016-11-03 20:16:39 -04:00
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
2016-10-27 21:36:32 -07:00
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.
2016-09-26 19:55:42 -04:00
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.
2016-09-12 22:38:06 -04:00
713037836c
Document new MessageType.pins_add
2016-09-12 20:25:32 -04:00
8384edb061
Add new EU Central and EU West server regions.
2016-09-09 19:23:55 -04:00
83c7ba612e
Explain cases where the on_message_edit event can be triggered.
2016-08-14 13:42:39 -04:00
45083a6f15
Document the new emoji stuff.
2016-08-01 18:52:34 -04:00
66875fbb0a
Document VoiceState class.
2016-07-24 04:54:00 -04:00
b0f5584961
Add AppInfo.owner attribute.
2016-07-21 01:16:29 -04:00
1c8ab25917
Add support for querying information about group calls.
2016-07-15 22:46:00 -04:00
91351a3238
Handle adding and removal of group members.
2016-07-15 22:03:22 -04:00
e60047b756
Add remaining server regions to the enum.
2016-07-14 15:03:43 -04:00
a128249b63
Add support for different message types and call message.
2016-07-13 20:11:18 -04:00
ddd3fd0a3d
Begin working on gateway v6 changes.
...
The first batch of changes are related to channel types and group
direct messages. Support these first so READY begins parsing.
2016-07-13 00:10:16 -04:00
1aceb4ee8d
Change max_length to max_messages
2016-06-28 18:23:25 +02:00
fb82a37cc6
Add discord.PermissionOverwrite type for channel-specific overwrites.
2016-06-14 22:26:13 -04:00
a175c86aa1
Add Client.application_info to retrieve the current app info.
...
Fixes #241 .
2016-06-10 22:28:15 -04:00
d914c0a4e4
Clarify on_ready
triggering more than twice.
...
On that note, fix the background_task example to use `Client.run`
instead of manual loop management. That way the task will be cleaned
up and cancelled inside `Client.run`.
2016-06-10 20:16:21 -04:00
5016f12079
Add Role.server attribute.
...
This breaks events that expected a server parameter for the role events.
2016-06-01 19:27:48 -04:00
e0a91df32b
Add RESUME support.
2016-06-01 05:13:15 -04:00
1c623ccf11
Begin working on gateway v4 support.
...
Bump websockets requirement to v3.1
Should be squashed...
2016-04-27 18:36:13 -04:00
eedad13ac1
Add utility function for generating OAuth2 urls.
2016-04-08 22:51:57 -04:00
d133f9f761
Clean up documentation of utils.snowflake_time
2016-03-06 03:42:13 -05:00
4584c68f0c
Remove request_offline option.
2016-02-14 21:49:34 -05:00
94d31834fc
Change enumerators into enumerations to please Voltana.
2016-01-30 06:07:06 -05:00
8b1854e759
Add and remove some of the on_socket_* events.
...
on_socket_raw_receive and on_socket_raw_send were added back in an odd
way. The rest of them such as on_socket_closed, on_socket_opened, and
on_socket_receive were removed.
2016-01-25 01:55:31 -05:00
9d881ad475
Add missing documentation for discord.Game
2016-01-07 00:25:18 -05:00
e88bc28236
Documentation fixes to quiet Sphinx warnings.
2016-01-07 00:21:00 -05:00
2fd63fc3dd
Document the fact that data classes use __slots__.
2016-01-07 00:13:38 -05:00
9075d46efd
Add on_member_ban and on_member_unban events.
...
Fixes #58 .
2015-12-17 18:22:16 -05:00
00c8dae88d
Add migrating guide for migrating to v0.10.0.
2015-12-17 07:12:18 -05:00
63565026c4
Remove on_status event. Superseded by on_member_update.
2015-12-17 06:18:08 -05:00
49d78c69c7
All update related events now pass in the previous state.
2015-12-17 06:05:35 -05:00
f8af89f88c
Add headers to data classes for easier navigation.
2015-12-09 23:35:31 -05:00
5335f468d2
Document discord.__version__ and discord.version_info
2015-12-09 19:56:41 -05:00
9bec041423
Documentation fixes for opus related import errors.
2015-12-08 19:47:47 -05:00
72f355bb64
Add OpusNotLoaded exception and opus.is_loaded utility function.
2015-12-08 19:37:34 -05:00
9deb7796a5
Documentation fixes for opus bindings.
2015-12-08 16:22:01 -05:00
60945868b4
Clear up some documentation.
2015-12-08 06:51:46 -05:00
80b32e769e
Handle GUILD_UPDATE
2015-12-06 03:09:55 -05:00
79bdf2a721
Add enumerators instead of strings.
...
Changes channel type, status and server region into 3.4 enums.
2015-12-04 22:13:17 -05:00
6fb2e35de3
Move async_client.py to client.py
2015-12-04 06:09:56 -05:00
410e41e78d
Implement a bunch of other HTTP request functions.
2015-12-04 06:08:29 -05:00