| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [commands] Add Command.usage argument to override argument display. | Michael Van Buren | 2017-02-10 | 2 | -1/+6 |
| | | |||||
| * | [commands] Better support for retrieving children commands. | Rapptz | 2017-02-06 | 1 | -2/+25 |
| | | | | | | * GroupMixin.get_command now supports fully qualified names * Add GroupMixin.walk_commands to get an iterator of all commands. | ||||
| * | [commands] Fix converters returning the wrong types when an ID is passed | Rapptz | 2017-01-31 | 1 | -2/+2 |
| | | |||||
| * | [commands] Implement before and after invoke command hooks. | Rapptz | 2017-01-27 | 2 | -2/+186 |
| | | | | | Fixes #464. | ||||
| * | [commands] Add Context.command_failed attribute. | Rapptz | 2017-01-27 | 2 | -7/+12 |
| | | |||||
| * | [commands] Add cog local checks via __local_check | Rapptz | 2017-01-26 | 1 | -0/+10 |
| | | |||||
| * | [commands] Rename __check to __global_check for cogs. | Rapptz | 2017-01-26 | 1 | -3/+3 |
| | | |||||
| * | [commands] Allow customising the Context class in get_context. | Rapptz | 2017-01-26 | 1 | -3/+9 |
| | | |||||
| * | Optimise attribute access when dispatching. | Rapptz | 2017-01-25 | 1 | -16/+3 |
| | | |||||
| * | Update copyright year to 2017. | Rapptz | 2017-01-20 | 10 | -10/+10 |
| | | |||||
| * | [commands] Guarantee that local error handler is called before generic. | Rapptz | 2017-01-15 | 2 | -4/+4 |
| | | |||||
| * | [commands] Change UserConverter to actually work with User, not Member. | Rapptz | 2017-01-14 | 1 | -1/+27 |
| | | |||||
| * | Remove _get_guild_id from Messageable ABC. | Rapptz | 2017-01-14 | 1 | -4/+0 |
| | | |||||
| * | [commands] Split process_commands into lower level bits. | Rapptz | 2017-01-14 | 2 | -49/+98 |
| | | |||||
| * | [commands] Make Command a descriptor for #426. | Rapptz | 2017-01-13 | 2 | -2/+5 |
| | | |||||
| * | [commands] Add AutoShardedBot counterpart to AutoShardedClient. | Rapptz | 2017-01-08 | 2 | -62/+70 |
| | | |||||
| * | [commands] Don't use removed is_private attribute in core decorators. | Rapptz | 2017-01-03 | 1 | -19/+14 |
| | | |||||
| * | [commands] Fix help command from not working with recent changes. | Rapptz | 2017-01-03 | 1 | -5/+5 |
| | | |||||
| * | Change Messageable channel getter to be a coroutine. | Rapptz | 2017-01-03 | 1 | -0/+1 |
| | | |||||
| * | Rename MessageChannel abc to Messageable. | Rapptz | 2017-01-03 | 1 | -11/+8 |
| | | |||||
| * | [commands] Remove send_ utility functions. | Rapptz | 2017-01-03 | 2 | -184/+4 |
| | | |||||
| * | [commands] First pass in making commands ext work again. | Rapptz | 2017-01-03 | 3 | -10/+70 |
| | | |||||
| * | Rename Server to Guild everywhere. | Rapptz | 2017-01-03 | 4 | -36/+36 |
| | | |||||
| * | [commands] Bot skip check now works with the new __eq__ changes. | Rapptz | 2017-01-03 | 1 | -2/+5 |
| | | |||||
| * | Slots use tuples instead now. | Rapptz | 2017-01-03 | 1 | -1/+1 |
| | | |||||
| * | Switch IDs to use int instead of str | Rapptz | 2017-01-03 | 1 | -4/+4 |
| | | |||||
| * | [commands] Bugfix on the teardown function call. | PapyrusThePlant | 2017-01-01 | 1 | -1/+1 |
| | | |||||
| * | Properly propagate loop. Fixes #420. | Rapptz | 2016-12-21 | 1 | -1/+1 |
| | | |||||
| * | [commands] Shield against dictionary resize in Bot.close | Rapptz | 2016-12-17 | 1 | -2/+2 |
| | | |||||
| * | [commands] Unload all cogs when gracefully exiting bot. | Rapptz | 2016-12-17 | 1 | -0/+6 |
| | | |||||
| * | [commands] Properly propagate CommandError derived exceptions. | Rapptz | 2016-12-17 | 1 | -0/+2 |
| | | | | | | | If a command or a group raised a CommandError derived exception it would be wrapped into CommandInvokeError. This fixes this case so it raises the original exception instead. | ||||
| * | [commands] Add special extension function 'teardown' for clean-up. | Rapptz | 2016-12-17 | 1 | -4/+14 |
| | | | | | | | | | | | | | This is to support people who want to clean up some external resource that the extension is maintaining outside of a cog, where __unload should be used instead. The callable is the antipode of 'setup' and takes the same sole parameter, the bot, after all commands, events, and cogs have been unloaded. Fixes #405. | ||||
| * | [commands] Unload all extensions when gracefully closing bot. | Rapptz | 2016-12-17 | 1 | -0/+10 |
| | | |||||
| * | [commands] Run global checks in help formatter. | khazhyk | 2016-12-16 | 1 | -1/+1 |
| | | | | | | | Help formatter was not checking global bot-level checks, resulting in showing commands a user did not have permission for with show_check_failure disabled. | ||||
| * | [commands] Remove slots on Context. | Rapptz | 2016-11-22 | 1 | -3/+0 |
| | | | | | | | | This is to allow people to set temporary local variables by injecting them directly into the context via some decorator or some other mechanism. Contexts are not kept alive long enough to warrant being slotted. | ||||
| * | [commands] Fix mistake in Paginator error message. | Max Kamps | 2016-10-03 | 1 | -1/+1 |
| | | |||||
| * | [commands] Fix Paginator still allowing lines which are too long. | Max Kamps | 2016-10-03 | 1 | -1/+1 |
| | | |||||
| * | [commands] Raise exception if Paginator gets a line that is too big. | Rapptz | 2016-09-26 | 1 | -0/+11 |
| | | | | | Fixes #340 | ||||
| * | [commands] Allow coroutine functions in Bot.command_prefix | Rapptz | 2016-09-17 | 1 | -3/+8 |
| | | |||||
| * | [commands] Default converters now take in IDs to match against. | Rapptz | 2016-09-09 | 1 | -10/+17 |
| | | |||||
| * | [commands] Cooldowns don't trigger due to user usage error. | Rapptz | 2016-09-08 | 1 | -11/+9 |
| | | | | | Fixes #325 | ||||
| * | [commands] Added a method to reset command cooldown. | Dan Hess | 2016-09-08 | 2 | -0/+17 |
| | | |||||
| * | [commands] Delete module when it does not have a setup function. | Rapptz | 2016-08-10 | 1 | -0/+2 |
| | | |||||
| * | [commands] Add missing inspect import in converter.py | Rapptz | 2016-08-04 | 1 | -0/+1 |
| | | |||||
| * | [commands] Add custom emoji converter. | Khazhismel | 2016-07-31 | 1 | -0/+31 |
| | | |||||
| * | [commands] Make HelpFormatter ignore hidden commands for max_width. | PapyrusThePlant | 2016-07-30 | 1 | -1/+1 |
| | | |||||
| * | [commands] Fix cooldown decorator to work regardless of order. | Rapptz | 2016-07-22 | 1 | -1/+1 |
| | | |||||
| * | [commands] Implement a command cooldown system. | Rapptz | 2016-07-22 | 4 | -3/+193 |
| | | | | | | | | | | | | | | | | | | The way the command cooldown works is using a windowed way of doing it. That is, if we have a cooldown of 2 commands every 30 seconds then if we do a single command, we have 30 seconds to do the second command or else we will get rate limited. This more or less matches the common expectations on how cooldowns should be. These cooldowns can be bucketed up to a single dimension of depth for a per-user, per-guild, or per-channel basis. Of course, a global bucket is also provided. These cannot be mixed, e.g. no per-channel per-user cooldowns. When a command cooldown is triggered, the error handlers will receive a an exception of type CommandOnCooldown with proper information regarding the cooldown such as retry_after and the bucket information itself. | ||||
| * | [commands] Add UserInputError into the exception hierarchy. | Rapptz | 2016-07-21 | 1 | -8/+18 |
| | | | | | | | | | | | | This is for exceptions that are inherently based on user errors and not permission based. e.g. passing incorrect number of arguments, too many arguments, or an invalid argument. CommandNotFound is not classified under this since it isn't inherently a user input error in all cases. Some invalid commands can simply be due to an odd bot prefix. It would also diminish the usefulness of the new parent class if CommandNotFound was included. | ||||
| * | [commands] Make Bot.check decorator an actual decorator. | Rapptz | 2016-07-08 | 1 | -6/+4 |
| | | |||||