MysterialPy
1863a1c663
Stop asyncio.async throwing a syntax error in 3.7.
...
Maintains support for < 3.4.4
2018-01-05 23:09:45 -06:00
Rapptz
fc9eb93486
Point to the new server and vanity URL.
2017-11-28 17:04:58 -05:00
Rapptz
e4cafb5057
Add ChannelType.category enum value.
2017-11-28 17:02:38 -05:00
Rapptz
9f1bb19d77
Fix extra in __all__ export for gateway
2017-10-14 17:02:50 -04:00
Anis B
09bd2f4de7
Remove handling of ReconnectWebsocket
2017-10-11 05:42:15 +02:00
Anis B
1cd50919a1
Raise ResumeWebsocket in case of RECONNECT
2017-10-11 05:40:30 +02:00
Anis B
192f57efef
Actually resume on opcode RECONNECT
2017-10-11 05:14:57 +02:00
Sleepy Flower Girl
d50acf79f8
ran faq through a spelling and grammar checker
2017-10-03 02:01:17 -04:00
Rapptz
44a4a473ab
Version bump to v0.16.12
v0.16.12
2017-10-01 15:12:19 -04:00
Rapptz
feba1d043f
Sort member roles in GUILD_CREATE
2017-09-17 00:01:31 -04:00
Rapptz
bf269db9e7
Version bump to v0.16.11
v0.16.11
2017-08-29 22:38:18 -04:00
Rapptz
e8d273cf8c
Sort roles by hierarchy rather than by ID.
2017-08-29 22:37:57 -04:00
Rapptz
ae9d73474d
Game objects are really dumb.
2017-08-21 02:52:44 -04:00
Rapptz
4c87490a66
Version bump to v0.16.10
v0.16.10
2017-08-19 12:12:04 -04:00
Rapptz
1cf712e6f3
Consume remaining keyword arguments in Game constructor.
2017-08-19 12:11:12 -04:00
Rapptz
8c14f5301c
Version bump to v0.16.9
v0.16.9
2017-08-16 19:43:02 -04:00
Rapptz
716d04f6fa
Don't use find_packages here.
2017-08-16 19:39:00 -04:00
Rapptz
7f18efdafe
Add default type for Game.
...
Good meme.
2017-08-16 19:37:35 -04:00
Datmellow
e2fe8c9471
Hide constructor for objects that shouldn't be created by users.
2017-07-05 17:28:22 -04:00
Rapptz
115c22633c
Change yield from to await in some docstrings.
...
Fix #625 .
2017-07-04 17:38:44 -04:00
Rapptz
7b806667cd
Fix afk_channel being None in Client.edit_server
2017-06-19 04:25:05 -04:00
Rapptz
f57ec81eec
Documentation fix.
...
Fix #482
2017-05-21 17:55:09 -04:00
Rapptz
835c27f5af
Version bump to v0.16.8
v0.16.8
2017-05-21 17:49:39 -04:00
khazhyk
4c05b4626b
Add timeouts for websocket initial connections.
...
In DiscordWebSocket and DiscordVoiceWebsocket the from_client factory
methods can hang indefintely on all websocket ops. We set static
timeouts and attempt to reconnect if we time out.
Additionally, do not return from DiscordVoiceWebSocket.from_client
until we set up the keep alive thread, which is created after we
receive the READY payload.
2017-05-21 17:27:36 -04:00
Rapptz
b24b027d49
Add Permissions.view_audit_logs
2017-04-30 08:00:10 -04:00
Rapptz
4835ca3404
Revert "Add timeouts for websocket initial connections."
...
This reverts commit 6dca5035df3cd6225f4b7761491614b31bcccc29.
2017-04-23 17:08:17 -04:00
Rapptz
a76909e182
Fix RESUME handling and make sure to wait 5 seconds before attempting.
2017-04-22 21:36:29 -04:00
khazhyk
6dca5035df
Add timeouts for websocket initial connections.
...
In DiscordWebSocket and DiscordVoiceWebsocket the from_client factory
methods can hang indefintely on all websocket ops. We set static
timeouts and attempt to reconnect if we time out.
Additionally, do not return from DiscordVoiceWebSocket.from_client
until we set up the keep alive thread, which is created after we
receive the READY payload.
2017-04-22 01:50:36 -04:00
Rapptz
516c3ce530
Use an asyncio.Event instead of an asyncio.Lock for global rate limits.
...
There were some dead-locking issues that I suspect were due to the
way the global rate limit was handled. This changes it into a simple
Event that allows multiple coroutines to pass through instead of one
by one.
2017-04-08 18:06:11 -04:00
Rapptz
75e4163169
Don't reconnect in sharding related codes.
2017-03-15 16:54:39 -04:00
cookkkie
2f159098b1
Better timeout handling in join_voice_channel
2017-03-13 02:25:10 +01:00
cookkkie
38ea40f403
Add rollback strategy to Client.join_voice_channel
2017-03-13 01:24:27 +01:00
Rapptz
440bd0da60
Version bump to v0.16.7
v0.16.7
2017-02-27 18:10:27 -05:00
Rapptz
7257ed24d8
Remove nonce when sending messages.
2017-02-27 18:02:38 -05:00
Rapptz
23ba3253dd
Version bump to v0.16.6
v0.16.6
2017-02-14 23:26:04 -05:00
Rapptz
9341be6be8
Handle HEARTBEAT_ACK
2017-02-14 23:18:02 -05:00
Rapptz
dae3c66a54
Ensure after is called inside the daemon thread for players.
2017-02-14 00:57:30 -05:00
Rapptz
e2de93e2a6
[commands] Make Command a descriptor for #426 .
2017-02-11 05:52:27 -05:00
Rapptz
ae30d2a880
Removed unused variables in routes.
2017-02-09 02:45:44 -05:00
Rapptz
e6c5e40ab0
Remove unused constants in HTTPClient
2017-02-08 20:46:38 -05:00
Rapptz
91fcce30e6
Add missing continue statement in gateway futures.
2017-02-08 20:30:34 -05:00
Rapptz
3558a0db27
Only defer the lock if we're pre-emptively rate limiting.
...
If a 429 was already hit somehow then we're no longer pre-emptively
rate limiting and we're going to end up having a race condition in
the lock/unlock cycle.
2017-02-08 03:47:53 -05:00
Rapptz
2a6c240271
[commands] Better support for retrieving children commands.
...
* GroupMixin.get_command now supports fully qualified names
* Add GroupMixin.walk_commands to get an iterator of all commands.
2017-02-06 21:08:29 -05:00
Rapptz
f06024f236
Fix potential chunking woe.
2017-01-23 07:08:29 -05:00
khazhyk
d409196d3d
Fix Client.create_server.
...
Client was using .name of enum instead of .value, resulting in
invalid requests being sent to discord.
edit_server region changing was not broken as the region field
was str()'d, which uses .value.
Also document that most bot accounts cannot use create_server.
2017-01-22 13:01:06 -08:00
Rapptz
ea95d723e8
Version bump to v0.16.5
v0.16.5
2017-01-21 16:20:17 -05:00
Rapptz
e9a09539be
Allow unique invites to be created in Client.create_invite.
2017-01-21 16:19:53 -05:00
Rapptz
de18a0ee47
Fix issue with chunking on userbots when a guild is unavailable.
2017-01-21 16:14:45 -05:00
Rapptz
5a6a3574b1
Fix bug with Client.move_channel and Client.move_role.
v0.16.4
2017-01-16 18:13:49 -05:00
Rapptz
793cbedd0d
Fix case where on_reaction_add returned None in PMs with users.
2017-01-13 01:11:32 -05:00