| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [commands] Add is_owner check and Bot.is_owner. | Rapptz | 2017-03-27 | 3 | -2/+49 |
| | | |||||
| * | [commands] Remove Command.no_pm for commands.guild_only check. | Rapptz | 2017-03-26 | 2 | -15/+22 |
| | | | | | | | | This is a breaking change. The original purpose of no_pm has been mainly a legacy aspect. They came from a time before checks were a generalised concept and were never removed. A check is the proper way to do its behaviour. | ||||
| * | More robust cleanup for Client.run. | Rapptz | 2017-03-24 | 1 | -0/+4 |
| | | | | | | | | | | This should prevent asyncio.CancelledError from being propagated more and suppressed "Task was destroyed but was pending!" warnings when doing graceful closes outside of using a KeyboardInterrupt. To make clean up a bit more robust, also add signal handlers for POSIX systems. | ||||
| * | [commands] Fix minor spacing issue in Command.signature | Rapptz | 2017-03-21 | 1 | -1/+1 |
| | | |||||
| * | [commands] Add Command.signature | Rapptz | 2017-03-21 | 2 | -31/+40 |
| | | | | | This replaces HelpFormatter.get_command_signature for the most part. | ||||
| * | [commands] Add BotBase.get_cog_commands to get all a cog's commands. | Rapptz | 2017-03-21 | 1 | -0/+25 |
| | | | | | | Self-explanatory. This should help create help commands for a cog more easily. | ||||
| * | [commands] Change GroupMixin.commands to all_commands | Rapptz | 2017-03-21 | 3 | -20/+25 |
| | | | | | | This is a breaking change as GroupMixin.commands now returns a set of unique Command objects. | ||||
| * | [commands] Add Context.me property. | Rapptz | 2017-03-01 | 1 | -0/+5 |
| | | |||||
| * | [commands] Register cog listeners with the name of the attribute. | Rapptz | 2017-02-22 | 1 | -1/+1 |
| | | |||||
| * | [commands] Fix bad logic in command list filtering. | Rapptz | 2017-02-18 | 1 | -1/+1 |
| | | |||||
| * | Make discord.ext a namespace package. | Rapptz | 2017-02-14 | 1 | -12/+0 |
| | | |||||
| * | [commands] Add commands.clean_content converter. | Rapptz | 2017-02-13 | 2 | -2/+62 |
| | | |||||
| * | [commands] Allow converters to be instantiated. | Rapptz | 2017-02-13 | 2 | -8/+14 |
| | | | | | | | | | | | 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. | ||||
| * | [commands] Remove Commands: if no commands can be run in help command. | Rapptz | 2017-02-13 | 1 | -2/+4 |
| | | |||||
| * | [commands] Add cog local error handlers via __error. | Rapptz | 2017-02-12 | 1 | -2/+11 |
| | | |||||
| * | [commands] Add param attribute to MissingRequiredArgument | Rapptz | 2017-02-12 | 2 | -2/+9 |
| | | | | | | | This should allow easier querying on what argument is missing. Fixes #470. | ||||
| * | Implement async checks. Fixes #380. | Rapptz | 2017-02-12 | 3 | -29/+63 |
| | | |||||
| * | [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 |
| | | |||||