| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [commands] Added BucketType.members for cooldowns | Clement | 2018-08-22 | 2 | -1/+5 |
| | | |||||
| * | [commands] Fix broken handling of keyword only parameters. | Rapptz | 2018-07-21 | 1 | -1/+1 |
| | | | | | Had a missing `param` argument in the new `do_conversion` code. | ||||
| * | [commands] Fix typing.Union converters for 3.7 | Rapptz | 2018-07-20 | 1 | -12/+17 |
| | | | | | Guido please don't break this | ||||
| * | [commands] Make ConversionError have the original error as an attribute | Rapptz | 2018-07-20 | 2 | -2/+6 |
| | | |||||
| * | [commands] Add support for typing.Union as a converter | Rapptz | 2018-07-20 | 2 | -5/+55 |
| | | |||||
| * | [commands] raise ConversionError on Converter error | khazhyk | 2018-07-20 | 2 | -26/+44 |
| | | | | | | | This assumes that a Converter class raising non-CommandError is a programmer error. Makes this type of error easier to disambiguate from a generic BadArgument. | ||||
| * | [commands] Change command_prefix behaviour | Hornwitser | 2018-06-29 | 1 | -17/+53 |
| | | | | | | | | | Change the behaviour of handling iterable command_prefix types to not silently ignore falsy prefixes and unify behaviour for all iterable types. Add special handling of a possible TypeError in both get_prefix and get_context for when the prefix is a different type from what is expected. | ||||
| * | Fix case insensitive command removal | Harmon | 2018-06-21 | 1 | -0/+3 |
| | | |||||
| * | Fix Bot.get_prefix second parameter breaking. | Rapptz | 2018-06-10 | 1 | -1/+1 |
| | | |||||
| * | Drop support for Python 3.4 and make minimum version 3.5.2. | Rapptz | 2018-06-10 | 5 | -167/+119 |
| | | |||||
| * | [commands] Don't handle single quotes. | Rapptz | 2018-03-20 | 1 | -2/+0 |
| | | |||||
| * | [commands] Minor optimisations to unicode quote handling. | Rapptz | 2018-03-06 | 1 | -3/+6 |
| | | |||||
| * | [commands] Added handling for unicode quotes | b-hodges | 2018-03-06 | 1 | -14/+43 |
| | | |||||
| * | [commands] Add ability to have case insensitive commands. | Rapptz | 2018-03-06 | 2 | -1/+28 |
| | | | | | | | | | | | This is powered by a dict-like class for the people who want to opt-in to the performance downgrade for usability for majority English speaking users. Since it is slower than the regular dict due to the excessive calls to str.lower along with the possibilities of gotchas for other languages outside of English, this is kept as False for the default case. | ||||
| * | [commands] Allow builtin unbound method converters | Eli | 2018-02-10 | 1 | -2/+7 |
| | | |||||
| * | Change PartialReactionEmoji to PartialEmoji, add a PartialEmojiConverter | Gorialis | 2018-01-06 | 1 | -2/+21 |
| | | |||||
| * | Add intersphinx | Tobotimus | 2018-01-06 | 6 | -47/+47 |
| | | |||||
| * | [commands] Fix MissingRequiredArgument param handling | khazhyk | 2018-01-06 | 1 | -2/+2 |
| | | | | | | Documentation was incorrect, and we were throwing away the param we were passing. | ||||
| * | [commands] Document that can_run can raise. | Rapptz | 2017-12-29 | 1 | -0/+6 |
| | | |||||
| * | [commands] Forbid passing a string to aliases in Command. | Rapptz | 2017-12-29 | 1 | -0/+4 |
| | | | | | Fixes #974 | ||||
| * | Add support for animated emoji to commands ext EmojiConverter | Joshua Butt | 2017-12-22 | 1 | -1/+1 |
| | | |||||
| * | [commands] Fix minor spelling mistake | S Stewart | 2017-11-20 | 1 | -1/+1 |
| | | |||||
| * | [commands] Minor speed-up for the BucketType.guild case. | Rapptz | 2017-10-08 | 1 | -1/+1 |
| | | | | | | | | | None case: 344ns ± 24.4ns -> 49.9ns ± 1.39ns Valid case: 128ns ± 2.76ns -> 42.7ns ± 0.459ns | ||||
| * | [commands] Make CooldownMapping.get_bucket take Message instead. | Rapptz | 2017-10-08 | 2 | -7/+6 |
| | | | | | | Requiring a full blown Context might be a bit overkill considering we only use a single attribute from it. | ||||
| * | [commands] Split Cooldown state processing to two different functions. | MysterialPy | 2017-10-03 | 2 | -8/+34 |
| | | | | | | This allows us to check if we are rate limited without creating a new cool-down window for the command. | ||||
| * | [commands] Add CategoryChannelConverter | Rapptz | 2017-09-13 | 1 | -1/+42 |
| | | |||||
| * | [commands] Fix NameError when given an invalid prefix. | Rapptz | 2017-09-12 | 1 | -1/+1 |
| | | | | | Closes #775 | ||||
| * | [commands] Have (bot_)has_permissions provide better failure responses | ReinaSakuraba | 2017-08-30 | 1 | -2/+21 |
| | | |||||
| * | [commands] Add MissingPermissions and BotMissingPermissions | ReinaSakuraba | 2017-08-30 | 1 | -1/+43 |
| | | |||||
| * | [commands] Add CooldownMapping.from_cooldown factory classmethod. | Rapptz | 2017-08-27 | 1 | -0/+4 |
| | | |||||
| * | [commands] Export cooldown classes as well. | Rapptz | 2017-08-27 | 1 | -1/+1 |
| | | |||||
| * | [commands] Raise when an invalid prefix is given. | Rapptz | 2017-08-15 | 1 | -5/+18 |
| | | | | | Fixes #712 | ||||
| * | [commands] Ensure no mentions escape clean_content | Rapptz | 2017-08-10 | 1 | -10/+2 |
| | | | | | | Some clever nicknames or role names would lead themselves to resolving to pings. | ||||
| * | [commands] Fix clean_content converter not properly escaping mentions. | Rapptz | 2017-08-10 | 1 | -24/+29 |
| | | | | | | | | | In some cases, the Discord provided role_mentions and mentions array would be empty, such as wrapping a mention with a backtick or other frivolous characters. Since we want to completely nullify mentions, we should not rely on the Discord provided arrays and instead use and resolve the IDs from the content itself. | ||||
| * | [commands] Fix Command.root_parent not properly working. | Rapptz | 2017-07-19 | 1 | -2/+4 |
| | | |||||
| * | [commands] Restart the StringView properly in Context.reinvoke. | Rapptz | 2017-07-18 | 1 | -1/+3 |
| | | | | | | | | | | The old code for some reason assumed that the length of the command would be 1. This is because when I tested this I would use single letter command names and it would "just work" when in reality it was completely incorrect. A reminder to thoroughly test instead of just fitting something to work | ||||
| * | [commands] Remove support for pass_context=False in Command. | Rapptz | 2017-07-18 | 3 | -17/+13 |
| | | |||||
| * | First pass at commands narrative documentation. | Rapptz | 2017-07-08 | 1 | -2/+2 |
| | | |||||
| * | [commands] unload cog submodules | khazhyk | 2017-07-07 | 1 | -0/+3 |
| | | | | | | | | | When unloading cogs, currently we do not remove submodules from sys.modules, meaning they will not be reloaded. Removing here makes new imports reload from file. Of course, any already imported modules will still hold a reference to the old module, since they will not re-import it, and will not be forcably unloaded. | ||||
| * | [commands] fix unloading incorrect cogs | khazhyk | 2017-07-03 | 1 | -3/+6 |
| | | | | | | | unload_extension would incorrectly unload cogs/listeners of other extensions if the name of one was a prefix of another. | ||||
| * | [commands] clean up remove_cog documentation | khazhyk | 2017-07-03 | 1 | -3/+2 |
| | | | | remove_cog always returns None, even if the cog is found. | ||||
| * | [commands] Improve commands.when_mentioned_or documentation. | Rapptz | 2017-07-01 | 1 | -2/+19 |
| | | |||||
| * | [commands] Do not take up 'command' keyword-argument in Context.invoke. | Rapptz | 2017-06-27 | 1 | -3/+12 |
| | | | | | | It was annoying when commands would have a keyword-only argument named 'command', such as a help command or a disable command. | ||||
| * | [commands] Add parameter that failed in fall-back BadArgument error. | Rapptz | 2017-06-26 | 1 | -1/+1 |
| | | |||||
| * | [commands] Ensure that Context.command is the command in Command.can_run | Rapptz | 2017-06-21 | 1 | -17/+23 |
| | | | | | | | | | | Previously, Context.command was not guaranteed to be the actual command being checked if it can run. This could be troublesome when implementing help commands or when using the default help command. This new change allows at least for the guarantee that Context.command to be technically correct in Command.can_run. | ||||
| * | [commands] Add Bot.check_once for a global check that is called once. | Rapptz | 2017-06-20 | 1 | -11/+74 |
| | | | | | | | | There is a counterpart for this in cogs, called __global_check_once. This allows for predicates that would filter a command globally that do not necessarily require rechecking in the case of e.g. the help command such as blocking users or blocking channels. | ||||
| * | [commands] Try to use the proper name when conversion fails. | Rapptz | 2017-06-17 | 1 | -1/+6 |
| | | |||||
| * | [commands] Fix cog error detection in the default global error handler. | Rapptz | 2017-06-13 | 1 | -1/+1 |
| | | |||||
| * | [commands] Don't display default error handler if a cog local exists. | Rapptz | 2017-06-12 | 1 | -2/+8 |
| | | |||||
| * | [commands] Add docstrings for extension loading. | Rapptz | 2017-06-05 | 1 | -0/+42 |
| | | |||||