Rapptz
6166cbc2e7
[commands] Add commands.clean_content converter.
9 years ago
Rapptz
c8250d7cd5
Fix bug with Message.role_mentions always being empty.
9 years ago
Rapptz
e10cae5dbc
[commands] Allow converters to be instantiated.
This allows for you to create converters that can have varying
behaviour using the converter's __init__ instead of having to do a
meta-class based approach to get around the fact that __init__ is part
of the interface.
To make up for the lack of __init__, a new method Converter.prepare was
added to do the work that __init__ used to do.
9 years ago
Rapptz
dcf826c09b
Allow utils.maybe_coroutine to take any arguments.
9 years ago
Rapptz
8e654bd52a
Add support for limit=None in Messageable.history.
Fixes #480 .
9 years ago
Rapptz
b6bff5172a
[commands] Remove Commands: if no commands can be run in help command.
9 years ago
Rapptz
1ec7daf372
Documentation fixes for permission.
9 years ago
Rapptz
bf11bb4b4f
[commands] Add cog local error handlers via __error.
9 years ago
Rapptz
7bc3750c27
[commands] Add param attribute to MissingRequiredArgument
This should allow easier querying on what argument is missing.
Fixes #470 .
9 years ago
Rapptz
47ef657fbd
Implement async checks. Fixes #380 .
9 years ago
Rapptz
2abdbc70c2
Implement utilities for AsyncIterator.
Closes #473 .
9 years ago
Rapptz
8727472b85
Add Client.get_user_profile to get an arbitrary user's profile.
9 years ago
Rapptz
0dac5e3139
Add Client.emojis to get all emojis.
This removes the older get_all_emojis generator.
9 years ago
Rapptz
ae36008279
Fix NameError in GroupChannel.
9 years ago
Michael Van Buren
84dfd7b3e3
[commands] Add Command.usage argument to override argument display.
9 years ago
Rapptz
bfe2b4fc03
Fix Member.display_name to work.
9 years ago
Rapptz
c16a515e50
Fix NameError in Client.get_invite
9 years ago
Rapptz
ca81f0c3fc
Better group DM support.
9 years ago
Rapptz
926f01f0b6
Call message edit handlers after attempting to patch individual fields
9 years ago
Rapptz
8c581bc5bd
Removed unused variables in routes.
9 years ago
Rapptz
3504de4635
Fix more places where server is used instead of guild in docstrings.
9 years ago
Rapptz
274e6af0dd
Fix support for instant invites.
9 years ago
Rapptz
0311b407c3
Remove unused constants in HTTPClient
9 years ago
Rapptz
ced064d08c
Add missing continue statement in gateway futures.
9 years ago
Rapptz
ecab8399ff
Handle HEARTBEAT_ACK
9 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.
9 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.
9 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.
9 years ago
Rapptz
aac769eb56
[commands] Fix converters returning the wrong types when an ID is passed
10 years ago
Rapptz
a632bdd871
Fix Member.permissions_in passing in the wrong self parameter.
10 years ago
Rapptz
5422655a86
Fix parsing of Invite.user
10 years ago
Rapptz
3a24cda927
Faster implementation of Guild.default_channel.
10 years ago
Rapptz
81baafa1e2
Change Role.is_everyone to Role.is_default.
10 years ago
Rapptz
e77012f4d9
Make all public is_ functions into methods instead of properties.
10 years ago
Rapptz
01c17704bc
Remove unused Message._handle_upgrades function.
10 years ago
Rapptz
8c896e9fbc
Re-add Client.wait_until_ready
10 years ago
Rapptz
b27fab09eb
Allow removing an embed in Message.edit
10 years ago
Rapptz
554ae196d3
Add missing int casts in many different events in the state.
Also remove redundant role parsing in Member._update_roles.
10 years ago
Rapptz
1c49374210
[commands] Implement before and after invoke command hooks.
Fixes #464 .
10 years ago
Rapptz
8fa50a8f3e
[commands] Add Context.command_failed attribute.
10 years ago
Rapptz
1cf7b0e2c8
Add ClientUser.friends and ClientUser.blocked
10 years ago
Rapptz
12c1cd9b14
[commands] Add cog local checks via __local_check
10 years ago
Rapptz
0e1bd1647e
[commands] Rename __check to __global_check for cogs.
10 years ago
Rapptz
4016154529
[commands] Allow customising the Context class in get_context.
10 years ago
Rapptz
1e09432c45
Update examples to use the new generic wait_for.
10 years ago
Rapptz
e5cb7d295c
Replace wait_for_* with a generic Client.wait_for
10 years ago
Rapptz
b876133e87
Add compatibility shim for asyncio.Future creation.
Should provide better support for uvloop.
10 years ago
Rapptz
62f43889c0
Remove unused ChannelPermissions namedtuple.
10 years ago
Rapptz
c80cbf1931
Remove Client.__getattr__ and Client.__setattr__ shims.
We should use properties instead.
10 years ago
Rapptz
234fd5180f
Optimise attribute access when dispatching.
10 years ago