Rapptz
926f01f0b6
Call message edit handlers after attempting to patch individual fields
8 years ago
Rapptz
8c581bc5bd
Removed unused variables in routes.
8 years ago
Rapptz
3504de4635
Fix more places where server is used instead of guild in docstrings.
8 years ago
Rapptz
274e6af0dd
Fix support for instant invites.
8 years ago
Rapptz
0311b407c3
Remove unused constants in HTTPClient
8 years ago
Rapptz
ced064d08c
Add missing continue statement in gateway futures.
8 years ago
Rapptz
ecab8399ff
Handle HEARTBEAT_ACK
8 years ago
Rapptz
dc486980f8
Rewrite RESUME logic to be more in line with what is requested.
Apparently we should always try to RESUME first and if we get
INVALIDATE_SESSION then we should IDENTIFY instead. This is the
preferred way to do RESUMEs.
8 years ago
Rapptz
f5b455c119
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.
8 years ago
Rapptz
f8d19ae7ba
[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.
8 years ago
Rapptz
aac769eb56
[commands] Fix converters returning the wrong types when an ID is passed
8 years ago
Rapptz
a632bdd871
Fix Member.permissions_in passing in the wrong self parameter.
8 years ago
Rapptz
5422655a86
Fix parsing of Invite.user
8 years ago
Rapptz
3a24cda927
Faster implementation of Guild.default_channel.
8 years ago
Rapptz
81baafa1e2
Change Role.is_everyone to Role.is_default.
8 years ago
Rapptz
e77012f4d9
Make all public is_ functions into methods instead of properties.
8 years ago
Rapptz
01c17704bc
Remove unused Message._handle_upgrades function.
8 years ago
Rapptz
8c896e9fbc
Re-add Client.wait_until_ready
8 years ago
Rapptz
b27fab09eb
Allow removing an embed in Message.edit
8 years ago
Rapptz
554ae196d3
Add missing int casts in many different events in the state.
Also remove redundant role parsing in Member._update_roles.
8 years ago
Rapptz
1c49374210
[commands] Implement before and after invoke command hooks.
Fixes #464 .
8 years ago
Rapptz
8fa50a8f3e
[commands] Add Context.command_failed attribute.
8 years ago
Rapptz
1cf7b0e2c8
Add ClientUser.friends and ClientUser.blocked
8 years ago
Rapptz
12c1cd9b14
[commands] Add cog local checks via __local_check
8 years ago
Rapptz
0e1bd1647e
[commands] Rename __check to __global_check for cogs.
8 years ago
Rapptz
4016154529
[commands] Allow customising the Context class in get_context.
8 years ago
Rapptz
1e09432c45
Update examples to use the new generic wait_for.
8 years ago
Rapptz
e5cb7d295c
Replace wait_for_* with a generic Client.wait_for
8 years ago
Rapptz
b876133e87
Add compatibility shim for asyncio.Future creation.
Should provide better support for uvloop.
8 years ago
Rapptz
62f43889c0
Remove unused ChannelPermissions namedtuple.
8 years ago
Rapptz
c80cbf1931
Remove Client.__getattr__ and Client.__setattr__ shims.
We should use properties instead.
8 years ago
Rapptz
234fd5180f
Optimise attribute access when dispatching.
8 years ago
Rapptz
02f30f21c4
Implement User.profile coroutine to get a user's profile.
8 years ago
Rapptz
e1aaf74fa7
Add option to disable auto member chunking.
8 years ago
Rapptz
d206ee792b
Fix issue with user bots chunking unavailable guilds.
8 years ago
Rapptz
1ffb2ca7ac
Allow unique invites for Client.create_invite.
8 years ago
Rapptz
ff9f5749e1
Update copyright year to 2017.
8 years ago
Rapptz
4c981ee631
Add support for relationships.
8 years ago
Rapptz
e2acf7b2b9
Add ClientUser.premium boolean.
8 years ago
Rapptz
fa384f2114
Make ClientUser separate from a regular User.
This removes Client.edit_profile in favour of ClientUser.edit.
8 years ago
Rapptz
4b6b5bd35e
Remove email/password based login.
8 years ago
Rapptz
f465f88d81
Reimplement Guild.me property without patching it in.
8 years ago
Rapptz
f4cadaf0cc
Fix bug with GuildChannel.edit and Role.edit with positions.
I did not update the HTTP code for these two methods.
8 years ago
Rapptz
898a05d5ea
Fix AutoShardedClient docstring.
8 years ago
Rapptz
ea72d5e63d
[commands] Guarantee that local error handler is called before generic.
8 years ago
Rapptz
11b54d67c9
[commands] Change UserConverter to actually work with User, not Member.
8 years ago
Rapptz
92dd519b1a
Remove _get_guild_id from Messageable ABC.
8 years ago
Rapptz
ce9d5b4f4a
[commands] Split process_commands into lower level bits.
8 years ago
Rapptz
87dc2f4dd3
Show inherited members in the docs for User and Member.
8 years ago
Rapptz
33450cd1b6
Fix documentation to properly use Messageable.send
8 years ago