Rapptz
e8d273cf8c
Sort roles by hierarchy rather than by ID.
9 years ago
Rapptz
ae9d73474d
Game objects are really dumb.
9 years ago
Rapptz
4c87490a66
Version bump to v0.16.10
9 years ago
Rapptz
1cf712e6f3
Consume remaining keyword arguments in Game constructor.
9 years ago
Rapptz
8c14f5301c
Version bump to v0.16.9
9 years ago
Rapptz
716d04f6fa
Don't use find_packages here.
9 years ago
Rapptz
7f18efdafe
Add default type for Game.
Good meme.
9 years ago
Datmellow
e2fe8c9471
Hide constructor for objects that shouldn't be created by users.
9 years ago
Rapptz
115c22633c
Change yield from to await in some docstrings.
Fix #625 .
9 years ago
Rapptz
7b806667cd
Fix afk_channel being None in Client.edit_server
9 years ago
Rapptz
f57ec81eec
Documentation fix.
Fix #482
9 years ago
Rapptz
835c27f5af
Version bump to v0.16.8
9 years ago
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.
9 years ago
Rapptz
b24b027d49
Add Permissions.view_audit_logs
9 years ago
Rapptz
4835ca3404
Revert "Add timeouts for websocket initial connections."
This reverts commit 6dca5035df .
9 years ago
Rapptz
a76909e182
Fix RESUME handling and make sure to wait 5 seconds before attempting.
9 years ago
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.
9 years ago
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.
9 years ago
Rapptz
75e4163169
Don't reconnect in sharding related codes.
9 years ago
cookkkie
2f159098b1
Better timeout handling in join_voice_channel
9 years ago
cookkkie
38ea40f403
Add rollback strategy to Client.join_voice_channel
9 years ago
Rapptz
440bd0da60
Version bump to v0.16.7
9 years ago
Rapptz
7257ed24d8
Remove nonce when sending messages.
9 years ago
Rapptz
23ba3253dd
Version bump to v0.16.6
10 years ago
Rapptz
9341be6be8
Handle HEARTBEAT_ACK
10 years ago
Rapptz
dae3c66a54
Ensure after is called inside the daemon thread for players.
10 years ago
Rapptz
e2de93e2a6
[commands] Make Command a descriptor for #426 .
10 years ago
Rapptz
ae30d2a880
Removed unused variables in routes.
10 years ago
Rapptz
e6c5e40ab0
Remove unused constants in HTTPClient
10 years ago
Rapptz
91fcce30e6
Add missing continue statement in gateway futures.
10 years ago
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.
10 years ago
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.
10 years ago
Rapptz
f06024f236
Fix potential chunking woe.
10 years ago
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.
10 years ago
Rapptz
ea95d723e8
Version bump to v0.16.5
10 years ago
Rapptz
e9a09539be
Allow unique invites to be created in Client.create_invite.
10 years ago
Rapptz
de18a0ee47
Fix issue with chunking on userbots when a guild is unavailable.
10 years ago
Rapptz
5a6a3574b1
Fix bug with Client.move_channel and Client.move_role.
10 years ago
Rapptz
793cbedd0d
Fix case where on_reaction_add returned None in PMs with users.
10 years ago
Rapptz
9626210633
Fix 404s with Client.pins_from and Client.create_role.
10 years ago
Rapptz
89eb3392af
Fix HTTPClient errors from the backport.
10 years ago
Rapptz
d460a747f6
Version bump to v0.16.1
10 years ago
Rapptz
6cd134ee47
Allow falsey values in Client.send_message and Client.send_file.
10 years ago
Rapptz
f0fb91c35d
Use CDN URL for assets.
10 years ago
Rapptz
fdd835e8f1
Backport rate limit header implementation from rewrite.
10 years ago
Kyle Repinski
643950abf8
Add ability to set opus encoder input signal type.
10 years ago
PapyrusThePlant
31cd9ad37a
[commands] Bugfix on the teardown function call.
10 years ago
Rapptz
a8264f6540
Chunk every guild if it's a user bot.
This also increases the timeout for chunking by 30 seconds for every
chunk we're waiting for.
10 years ago
Rapptz
4d59bca4aa
Support animated avatars in User.avatar_url.
10 years ago
Rapptz
bed2e90e82
Properly propagate loop. Fixes #420 .
10 years ago