| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [tasks] set internal task to None after canceling | Steve C | 2019-04-12 | 1 | -0/+1 |
| | | |||||
| * | [tasks] Add before_loop and after_loop decorators | Rapptz | 2019-04-12 | 1 | -16/+79 |
| | | |||||
| * | [commands] Add versionadded to dm_only | Rapptz | 2019-04-12 | 1 | -0/+2 |
| | | |||||
| * | [tasks] Ensure total number of seconds is not less than 0. | Rapptz | 2019-04-11 | 1 | -3/+6 |
| | | |||||
| * | [tasks] Rename Loop.run to Loop.start to avoid blocking connotations | Rapptz | 2019-04-11 | 1 | -3/+3 |
| | | |||||
| * | [tasks] Add a new background helper 'tasks' extension. | Rapptz | 2019-04-11 | 1 | -0/+209 |
| | | |||||
| * | [commands] Fix erroneous string in dm_only check | Rapptz | 2019-04-11 | 1 | -1/+1 |
| | | |||||
| * | [commands] Added dm_only check | Dante Dam | 2019-04-11 | 2 | -7/+29 |
| | | | | | Raises PrivateMessageOnly on failure. | ||||
| * | [commands] Fix references in Bot to actually link. | Rapptz | 2019-04-10 | 1 | -5/+2 |
| | | | | | Exceptions can't seem to link due to a bug in Sphinx. | ||||
| * | [commands] Properly name heading for ExtensionError | Rapptz | 2019-04-10 | 1 | -2/+2 |
| | | |||||
| * | [commands] Raise TypeError instead of ClientException in some places | Rapptz | 2019-04-07 | 2 | -18/+18 |
| | | | | | | | | Certain decorators and functions expect coroutines and raise an exception when this is not met. Change these to raise the appropriate TypeError since they can't actually be handled by the user gracefully anyway. | ||||
| * | [commands] Remove extraneous `or` | Rapptz | 2019-04-06 | 1 | -1/+1 |
| | | |||||
| * | [commands] Fix HelpCommand.invoked_with when used in events. | Rapptz | 2019-04-06 | 1 | -2/+3 |
| | | |||||
| * | Add helpers to escape markdown and mentions from text. | Rapptz | 2019-04-06 | 1 | -6/+2 |
| | | | | | Fixes #1673 | ||||
| * | [commands] Disallow bot_ or cog_ commands or listeners in cogs. | Rapptz | 2019-04-06 | 1 | -1/+5 |
| | | |||||
| * | [commands] Raise BadArgument in ColourConverter when using from_hsv/rgb | Rapptz | 2019-04-06 | 1 | -2/+3 |
| | | | | | Fixes #2043 | ||||
| * | Only escape characters as necessary in clean_content | CapnS | 2019-04-06 | 1 | -10/+5 |
| | | | | | Fixes #1885 | ||||
| * | Redesign asset retrieval in the library. | NCPlayz | 2019-04-06 | 1 | -1/+2 |
| | | | | | | | | | | | | Most assets now return a new class named `Asset`. This allows for the assets to be consistently saved via a `save` method instead of special casing for `Attachment`. `AppInfo` is no longer a namedtuple it is a fully documented dataclass, as well as having the state attached to it. Fixes #1997 | ||||
| * | [commands] Fix MinimalHelpCommand opening note signature consistency | Rapptz | 2019-03-24 | 1 | -4/+4 |
| | | |||||
| * | [commands] Double underscore some attributes. | Rapptz | 2019-03-24 | 1 | -16/+16 |
| | | |||||
| * | [commands] Add HelpCommand.invoked_with | Rapptz | 2019-03-24 | 1 | -2/+22 |
| | | | | | | This fixes an issue where the context invoked_with does not match the actual invoked with behaviour (e.g. using Context.send_help). | ||||
| * | [commands] Add Command.cooldown_after_parsing keyword argument. | Rapptz | 2019-03-22 | 1 | -5/+17 |
| | | | | | | This controls the behaviour of cooldown execution order. This does not change the default behaviour however. | ||||
| * | [commands] Ensure handlers are copied even during update. | Rapptz | 2019-03-20 | 1 | -12/+15 |
| | | | | | Fix #2001 | ||||
| * | Try to consistently use "inherit" vs "derive" in documentation. | Rapptz | 2019-03-19 | 4 | -14/+14 |
| | | |||||
| * | [commands] Redesign extension exception flow. | Rapptz | 2019-03-19 | 2 | -21/+115 |
| | | | | | | | | | | | | | | | | | Instead of raising a whole variety of exceptions, they are now wrapped into ExtensionError derived classes. * ExtensionAlreadyLoaded * Raised when an extension is already loaded in Bot.load_extension * ExtensionNotLoaded * Raised when an extension is not loaded, e.g. Bot.unload_extension * NoEntryPointError * Raised when an extension does not have a `setup` function. * ExtensionFailed * Raised when an extension's `setup` function fails. * ExtensionNotFound * Raised when an extension's module import fails. | ||||
| * | [commands] Add Bot.reload_extension for atomic loading. | Rapptz | 2019-03-19 | 1 | -43/+106 |
| | | | | | Also do atomic loading in Bot.load_extension | ||||
| * | [commands] ColourConverter raises if value is out of range | Joshua B | 2019-03-19 | 1 | -0/+2 |
| | | | | | | changes make the `ext.commands.ColourConverter` Converter fail when user input is outside the acceptable value range 0x000000 - 0xFFFFFF | ||||
| * | Expose Metadata | NCPlayz | 2019-03-19 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added access to: * `/users/@me/guilds` * `/guilds/{guild_id}` * `/guilds/{guild_id}/members/{member_id}` BREAKING CHANGE: * `get_user_info` -> `fetch_user_info` to match naming scheme. Remove useless note Remove `reverse` and corresponding documentation Update documentation to reflect #1988 Rename `get_` HTTP functions to `fetch_` Breaking Changes: * `get_message` -> `fetch_message` * `get_invite` -> `fetch_invite` * `get_user_profile` -> `fetch_user_profile` * `get_webhook_info` -> `fetch_webhook` * `get_ban` -> `fetch_ban` Fix InviteConverter, update migrating.rst Rename get_message to fetch_message | ||||
| * | Organise documentation | NCPlayz | 2019-03-19 | 6 | -43/+38 |
| | | |||||
| * | [commands] Walk through MRO for Cog derived classes. | Rapptz | 2019-03-17 | 1 | -23/+37 |
| | | | | | | | | This should support cog subclasses in a relatively consistent way in terms of expectations. Hopefully nothing is broken. Fixes #1950 | ||||
| * | [commands] Make Bot.cogs and Bot.extensions read-only mappings. | Rapptz | 2019-03-17 | 1 | -12/+23 |
| | | | | | | This also has the side effect of effectively documenting them for public use. | ||||
| * | Fix pagination of huge command help messages (> ~2,000 chars) | slice | 2019-03-16 | 1 | -2/+12 |
| | | | | | | | | | | | Previously, calls to add_line in add_command_formatting of default help commands would fail if the command's help message would overflow the current page. This would also result in silent failure as the RuntimeError raised from add_line is never caught. This patch adds behavior that adds lines individually should it raise, which guarantees safe pagination as long as every line is smaller than the maximum page size, which is highly unlikely. | ||||
| * | Fix documentation linking issue in Messageables and Context | Rapptz | 2019-03-16 | 1 | -5/+5 |
| | | |||||
| * | [commands] Rename it to Context.send_help for consistency. | Rapptz | 2019-03-16 | 1 | -2/+2 |
| | | |||||
| * | [commands] Add Context.show_help helper to use the HelpCommand set. | Rapptz | 2019-03-16 | 1 | -0/+67 |
| | | | | | Fixes #1983 | ||||
| * | [commands] Optimise GroupMixin.get_command for the no space case. | Rapptz | 2019-03-16 | 1 | -0/+4 |
| | | | | | Comes at a 30ns slowdown for the space case, however. | ||||
| * | [commands] Assign context inside HelpCommand.prepare_help_command | Rapptz | 2019-03-16 | 1 | -3/+9 |
| | | |||||
| * | [commands] Add HelpCommand.get_bot_mapping helper. | Rapptz | 2019-03-16 | 1 | -5/+11 |
| | | |||||
| * | [commands] Return result of send_group_help and send_command_help | Rapptz | 2019-03-16 | 1 | -2/+2 |
| | | |||||
| * | Change superclass to subclass in some documentation | Kaeptm Blaubaer | 2019-03-16 | 2 | -5/+5 |
| | | |||||
| * | [commands] Add back dm_help tribool for the provided HelpCommands | Rapptz | 2019-03-16 | 1 | -0/+42 |
| | | | | | Also add a dm_help_threshold integer to control the length. | ||||
| * | [commands] Add commands.Paginator.__len__ | Rapptz | 2019-03-16 | 1 | -0/+10 |
| | | |||||
| * | [commands] Redesign HelpFormatter into HelpCommand | Rapptz | 2019-03-15 | 5 | -476/+1189 |
| | | | | | Part of #1938 | ||||
| * | [commands] Add Cog.description to get the clean docstring. | Rapptz | 2019-03-14 | 1 | -0/+9 |
| | | |||||
| * | [commands] Add Cog.qualified_name to query the specified cog name. | Rapptz | 2019-03-13 | 1 | -0/+5 |
| | | |||||
| * | [commands] Properly handle typing.Optional as last positional parameter | Harmon | 2019-03-13 | 1 | -0/+2 |
| | | |||||
| * | [commands] Support staticmethod listeners and disallow them in commands | Rapptz | 2019-03-12 | 1 | -5/+18 |
| | | |||||
| * | [commands] Refactor quoted_word free function to a StringView method. | Rapptz | 2019-03-12 | 2 | -88/+85 |
| | | | | | | Technically a breaking change, however this interface was not documented or guaranteed to exist. | ||||
| * | [commands] Separate view parsing errors from BadArgument. | Rapptz | 2019-03-12 | 2 | -6/+60 |
| | | | | | | | | | This causes them to be raised from a new exception named ArgumentParsingError with 3 children for ease with i18n. This is technically a breaking change since it no longer derives from BadArgument, though catching UserInputError will prevent this change from affecting the user. | ||||
| * | Small inconsistency in documentation | Skyweb | 2019-03-08 | 1 | -1/+1 |
| | | | | :) | ||||