| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [commands] Add Context.cog property. | Rapptz | 2016-06-16 | 1 | -0/+7 |
| | | |||||
| * | [commands] Only show CommandNotFound on non-empty commands. | Rapptz | 2016-06-14 | 1 | -1/+1 |
| | | |||||
| * | [commands] Make the CommandError required argument optional again. | Rapptz | 2016-06-10 | 1 | -4/+7 |
| | | |||||
| * | [commands] Fix @everyone elevation in the default help command. | Rapptz | 2016-06-10 | 1 | -2/+14 |
| | | |||||
| * | [commands] Fix bug with Context.command not updating in groups. | Rapptz | 2016-06-10 | 1 | -0/+1 |
| | | | | | This happened when `invoke_without_command` was set to True. | ||||
| * | [commands] Make it so CommandError does not contain @everyone mentions. | Rapptz | 2016-06-10 | 1 | -1/+5 |
| | | | | | Mitigates some permission elevation issues. | ||||
| * | [commands] Exceptions raised while invocation raise CommandInvokeError. | Rapptz | 2016-06-10 | 2 | -2/+15 |
| | | | | | | | This change should make it a bit more intuitive to get the original exception without having the gotcha of checking ``isinstance`` inside the error handler. | ||||
| * | [commands] Fix issue with proper local error handlers not beign called. | Rapptz | 2016-06-10 | 1 | -1/+1 |
| | | |||||
| * | [commands] Unify Command.handle_local_error into general dispatcher. | Rapptz | 2016-06-05 | 2 | -9/+11 |
| | | |||||
| * | [commands] Add Command.qualified_name to get the full command name. | Rapptz | 2016-06-04 | 2 | -16/+36 |
| | | | | | This also sets `__str__` to do the same thing. | ||||
| * | [commands] Fix bug where Context.command would not update. | Rapptz | 2016-06-04 | 2 | -1/+2 |
| | | |||||
| * | [commands] Fix bug where subgroups would be repeatedly called. | Rapptz | 2016-06-04 | 1 | -2/+6 |
| | | | | | | | | This happened due to not resetting the `invoked_subcommand` state tracking. Since the `invoked_subcommand` was not reset, it would always assume that it was valid and repeatedly call it when passed invalid subcommands/arguments. | ||||
| * | [commands] Cleanup Command.invoke code due to exception propagation. | Rapptz | 2016-06-04 | 1 | -14/+8 |
| | | |||||
| * | [commands] Dispatch command_error on command exec error. | Khazhismel Kumykov | 2016-06-04 | 2 | -64/+81 |
| | | | | | | | Provide fallback on_command_error - will only fire if no cog handlers and no local handler. Propagate exceptions in checks and argument parsing to bot. | ||||
| * | [commands] Delete frame objects when done using them. | Rapptz | 2016-05-31 | 1 | -3/+7 |
| | | |||||
| * | [commands] Add support for self-bots. | Rapptz | 2016-05-31 | 1 | -2/+8 |
| | | |||||
| * | [commands] Fix when_mentioned when handling nicknames. | Rapptz | 2016-05-01 | 1 | -1/+4 |
| | | |||||
| * | [commands] Allow role mentions to work with discord.Role params. | Rapptz | 2016-04-29 | 1 | -2/+6 |
| | | | | | | This also fixes the Member regex to support the new <@!user_id> syntax and allows colours to have a leading # before the number. | ||||
| * | Begin working on gateway v4 support. | Rapptz | 2016-04-27 | 2 | -3/+3 |
| | | | | | | | Bump websockets requirement to v3.1 Should be squashed... | ||||
| * | [commands] Make sure that mentions are the entire string. | Rapptz | 2016-04-23 | 1 | -2/+2 |
| | | |||||
| * | [commands] CommandError derived exceptions in checks don't crash help. | Rapptz | 2016-04-13 | 1 | -1/+5 |
| | | |||||
| * | [commands] Add deterministic cog unloading. | Rapptz | 2016-04-04 | 1 | -0/+10 |
| | | | | | | The special function is `__unload` to prevent with name conflicts with existing or future cogs. | ||||
| * | [commands] Fix pagination logic a little inside HelpFormatter. | Rapptz | 2016-04-02 | 1 | -10/+10 |
| | | | | | This should prevent pages accidentally reaching >2k chars. | ||||
| * | [commands] Refactor special cased discord.py converters. | Rapptz | 2016-04-01 | 1 | -40/+77 |
| | | | | | | | | Code is a little more straightforward. The Member and Channel special cases will now work in private message contexts when given a name. The Member special case will also work if you pass in a name and discriminator combo. | ||||
| * | [commands] Don't yield from inside bot utility functions. | Rapptz | 2016-03-31 | 1 | -14/+5 |
| | | |||||
| * | [commands] Fix infinite recursion on subgroups without a command. | Will Tekulve | 2016-03-31 | 1 | -1/+1 |
| | | | | | | Just as an FYI, ctx.invoked_subcommand will end up being an instance of commands.Group! | ||||
| * | [commands] Add bot decorators into __all__. | Rapptz | 2016-03-11 | 1 | -1/+2 |
| | | |||||
| * | [commands] Add when_mentioned_or helper to have mentions and prefixes. | Rapptz | 2016-03-05 | 2 | -1/+22 |
| | | |||||
| * | [commands] Fix typo in Bot.upload docstring. | Rapptz | 2016-03-02 | 1 | -1/+1 |
| | | |||||
| * | [commands] Fix NameError in bot_has_permissions. | Rapptz | 2016-03-02 | 1 | -1/+1 |
| | | |||||
| * | [commands] bot_has_permissions decorator actually checks for bot. | Rapptz | 2016-03-02 | 1 | -1/+1 |
| | | |||||
| * | [commands] Do not swallow AttributeErrors raised by the setup function | Rapptz | 2016-02-24 | 1 | -4/+3 |
| | | |||||
| * | [commands] Helper functions now take *args and **kwargs. | Rapptz | 2016-02-18 | 1 | -30/+24 |
| | | |||||
| * | [commands] Raise RuntimeError instead of StopIteration. | Rapptz | 2016-02-06 | 1 | -2/+3 |
| | | |||||
| * | [commands] Fix crash when a group has no commands and help is requested | Rapptz | 2016-01-30 | 1 | -1/+3 |
| | | |||||
| * | [commands] Change signature convention to use POSIX standards. | Rapptz | 2016-01-29 | 1 | -4/+9 |
| | | |||||
| * | [commands] Raise TypeError if the name is not a string. | Rapptz | 2016-01-29 | 1 | -0/+3 |
| | | |||||
| * | [commands] Context.invoke will now return what the command returns. | Rapptz | 2016-01-28 | 1 | -1/+2 |
| | | |||||
| * | [commands] Context.invoke just invokes a command with no special case. | Rapptz | 2016-01-28 | 1 | -5/+33 |
| | | | | | | | Previously it would both forward and invoke depending if there were no kwargs given. Now it just passes in the arguments to another command without doing any special casing on the no argument case. | ||||
| * | [commands] Fix typo on HelpFormatter.show_check_failure attribute. | Rapptz | 2016-01-27 | 1 | -5/+5 |
| | | |||||
| * | [commands] Fix discord.Invite special case handling in parameters. | Rapptz | 2016-01-24 | 1 | -10/+16 |
| | | | | | | | This led to decorating a lot of things into @asyncio.coroutine. Unfortunately there's no way to lower the amount of decoration since coroutines spread like a virus. | ||||
| * | [commands] Allow setting the bot error messages in the help command. | Rapptz | 2016-01-23 | 1 | -4/+15 |
| | | | | | This is to help out those folks that don't speak English. | ||||
| * | [commands] Add Bot.help_attrs to customise the help command. | Rapptz | 2016-01-23 | 2 | -4/+18 |
| | | | | | | The help message now uses the invoked_with attribute of the context to get the name of the command it uses instead of a hardcoded help. | ||||
| * | [commands] Change Bot.pm_help to be an optional bool. | Rapptz | 2016-01-23 | 1 | -4/+14 |
| | | | | | | | The behaviour of passing in pm_help=None makes it so the bot will only send private messages if the length of the message is too "big", which is defined as having more than 1000 characters in the output. | ||||
| * | [commands] Add Command.no_pm attribute to block a command in PM. | Rapptz | 2016-01-22 | 1 | -0/+10 |
| | | |||||
| * | [commands] help command now uses the full name in the signature. | Rapptz | 2016-01-17 | 1 | -3/+19 |
| | | |||||
| * | [commands] Fix indentation error in commands.bot_has_role docstring. | Rapptz | 2016-01-16 | 1 | -2/+3 |
| | | |||||
| * | [commands] Add checks for checking bot roles and permissions. | Rapptz | 2016-01-15 | 1 | -2/+38 |
| | | | | | | | There was a bug with has_permissions that checked the bot's permissions instead of the message author which was also corrected. The docstring itself hinted that it checked for the author rather than the bot. | ||||
| * | [commands] Add on_command and on_command_completion events. | Rapptz | 2016-01-14 | 1 | -1/+4 |
| | | |||||
| * | [commands] Change behaviour of consume rest to be more useful. | Rapptz | 2016-01-14 | 1 | -7/+22 |
| | | | | | | You can get back the old behaviour by passing in `rest_is_raw` to the command attributes. | ||||