| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [lint] Fix import order | Hornwitser | 2018-11-24 | 3 | -4/+7 |
| | | | | | | Reorder imports to be consistenly grouped by standard library, third party library, and local modules in that order thoughout the library. | ||||
| * | [commands] Remove duplicated quote entries | Hornwitser | 2018-11-24 | 1 | -2/+0 |
| | | | | | | Remove two duplicated entries from the quote mapping in commands.view. These were introduced at the creation of this mapping in ea061ef. | ||||
| * | [lint] Remove redundant paranthesis | Hornwitser | 2018-11-24 | 3 | -9/+9 |
| | | | | | | Remove redundant parenthisis around await expressions. Left over from f25091ef. | ||||
| * | [lint] Rename exception variables to exc | Hornwitser | 2018-11-24 | 3 | -14/+14 |
| | | | | | | Use the more explicit (and common) exc instead of e as the variable holding the exception in except handlers. | ||||
| * | [lint] Remove redundant exception variables | Hornwitser | 2018-11-24 | 1 | -5/+5 |
| | | | | | | | Use bare raise statement when reraising the exception that occured, and remove unused exception variables. Also remove a pointless exception handler in discord.opus. | ||||
| * | [lint] Limit unneccessarily broad except clauses | Hornwitser | 2018-11-24 | 2 | -4/+4 |
| | | | | | Add exception qualifier(s) to bare except clauses swallowing exceptions. | ||||
| * | Revert "Rework documentation to not duplicate inherited members." | Rapptz | 2018-10-11 | 1 | -3/+1 |
| | | | | | This reverts commit 96981210b3415e15446db0b702b07fef25c8b680. | ||||
| * | [commands] Add call_once keyword-only parameter for Bot.remove_check | Rapptz | 2018-10-11 | 1 | -7/+8 |
| | | | | | | Technically a breaking change. This is to be a parallel with the Bot.add_check interface. | ||||
| * | Rework documentation to not duplicate inherited members. | Rapptz | 2018-10-03 | 1 | -1/+3 |
| | | | | | This will probably be reverted in 1 week. | ||||
| * | [commands] Fix NameError in clean_content converter | Rapptz | 2018-09-25 | 1 | -1/+1 |
| | | |||||
| * | Change internal role storage in Guild to a dict instead of a list. | Rapptz | 2018-09-24 | 1 | -4/+7 |
| | | | | | | | | | | | | | | | | | This adds the following APIs: * Guild.get_role This removes the following APIs: * Guild.role_hierarchy To compensate for the removed APIs, Guild.roles is now a sorted list based on hierarchy. The first element will always be the @everyone role. This speeds up access at the cost of some memory, theoretically. | ||||
| * | [commands] Fix up Greedy documentation a bit. | Rapptz | 2018-09-24 | 1 | -2/+2 |
| | | |||||
| * | [commands] Add commands.Greedy converter and documentation. | Rapptz | 2018-09-24 | 2 | -2/+79 |
| | | | | | | This allows for greedy "consume until you can't" behaviour similar to typing.Optional but for lists. | ||||
| * | [commands] Allow for backtracking parsing with typing.Optional | Rapptz | 2018-09-23 | 1 | -0/+10 |
| | | | | | | | | | | | Original code by zephyrkul. This new parsing mode allows for backtracking in case of failure when a typing.Union[..., NoneType] or a typing.Optional[...] is used. This means that if a type would fail to parse, the view is undo'd to a previous state, passing the default parameter to the callback, and then continuing on the next parameter as if nothing had happened. | ||||
| * | [commands] Properly parse bool when inside a typing.Union | zephyrkul | 2018-09-20 | 1 | -3/+3 |
| | | |||||
| * | Correct ClientException message raised in invocation hooks. | MusicOnline | 2018-09-20 | 2 | -4/+4 |
| | | | | | For when the hooks are not coroutines. | ||||
| * | Change docstrings to raw-strings | BeatButton | 2018-09-14 | 4 | -11/+11 |
| | | |||||
| * | [commands] Prepend mention prefixes in commands.when_mentioned_or | zephyrkul | 2018-08-28 | 1 | -1/+1 |
| | | |||||
| * | Fix typo in core.Command docstring | SilicalNZ | 2018-08-24 | 1 | -1/+1 |
| | | |||||
| * | [commands] Use eval instead of get_type_hints to resolve typehints | Rapptz | 2018-08-22 | 1 | -14/+19 |
| | | | | | | | | | | | | The previous usage of `typing.get_type_hints` caused issues as it would incorrectly decide to convert annotations into their equivalent `typing` form -- which is not what we want to happen here. Due to some use-cases about how setting `Command.callback` work and the amount of moving parts that have changed due to this patch, it is probably better to refactor the way it is set so users can have this use-case handled transparently for them. | ||||
| * | Bot.unload_extension: don't remove commands from no module | Ben Mintz | 2018-08-22 | 1 | -0/+2 |
| | | | | Fixes unload_extension in the case of a command added via eval | ||||
| * | Add support for converters working with PEP-563 | Bryan Forbes | 2018-08-22 | 1 | -0/+12 |
| | | |||||
| * | [lint] Fix incorrect and inconsistent whitespace | Hornwitser | 2018-08-22 | 6 | -12/+16 |
| | | | | | Adjust whitespace to be consistent with the rest of the library. | ||||
| * | [lint] Remove unnecessary lambdas | Hornwitser | 2018-08-22 | 1 | -1/+1 |
| | | | | | Lambdas of the form `lambda x: func(x)` are redundant. | ||||
| * | [lint] Remove unused variables | Hornwitser | 2018-08-22 | 1 | -1/+1 |
| | | | | | Left over from various refactoring and rewrites. | ||||
| * | [lint] Remove unused imports | Hornwitser | 2018-08-22 | 4 | -5/+1 |
| | | | | | Left over from various refactoring and rewrites. | ||||
| * | [commands] Handle nick mentions in HelpFormatter | Michael H | 2018-08-22 | 1 | -2/+2 |
| | | | | | | Modifies the help formatter to handle nicknamed bot users for mentions in clean_prefix | ||||
| * | [commands] Ignore bots from Bot.process_commands by default. | Rapptz | 2018-08-22 | 1 | -1/+7 |
| | | |||||
| * | [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 |
| | | |||||