aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix Attachment.save wording nit.Rapptz2019-04-061-3/+4
|
* Add helpers to escape markdown and mentions from text.Rapptz2019-04-063-6/+47
| | | | Fixes #1673
* [commands] Disallow bot_ or cog_ commands or listeners in cogs.Rapptz2019-04-061-1/+5
|
* Make abc.GuildChannel.overwrites return a dictionaryRapptz2019-04-061-7/+6
| | | | Fix #2016
* [commands] Raise BadArgument in ColourConverter when using from_hsv/rgbRapptz2019-04-061-2/+3
| | | | Fixes #2043
* Only escape characters as necessary in clean_contentCapnS2019-04-061-10/+5
| | | | Fixes #1885
* Add fetch custom emoji, all custom emojis; Add user property to EmojiNCPlayz2019-04-063-1/+57
|
* Redesign bulk delete eventsVexs2019-04-063-19/+47
| | | | | | | | | Change `parse_message_delete_bulk` to not dispatch individual `message_delete` events, and instead `bulk_message_delete`. Also make `raw_bulk_message` delete and `raw_message_delete` have message objects attached. Fixes #1807
* Redesign asset retrieval in the library.NCPlayz2019-04-0616-155/+332
| | | | | | | | | | | 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
* Propagate Cloudflare 429 HTML text.Rapptz2019-03-311-0/+4
|
* Added functionality to edit user settingsCapnS2019-03-283-1/+127
| | | | | | | | | | | | Changing docs to fit other parts of the lib Co-Authored-By: CapnS <[email protected]> Removing Type Checking Made all of Rapptz's suggested changes Removing imports that are no longer needed
* [commands] Fix MinimalHelpCommand opening note signature consistencyRapptz2019-03-241-4/+4
|
* Double underscore HTTPClient's internal session.Rapptz2019-03-242-9/+10
|
* [commands] Double underscore some attributes.Rapptz2019-03-241-16/+16
|
* [commands] Add HelpCommand.invoked_withRapptz2019-03-241-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).
* guild.py: change wording for create_role errornumbermaniac2019-03-241-1/+1
|
* Get cached message in reverse order for improved performance.Rapptz2019-03-231-1/+1
| | | | Most embed-only edits happen for the newest message.
* [commands] Add Command.cooldown_after_parsing keyword argument.Rapptz2019-03-221-5/+17
| | | | | This controls the behaviour of cooldown execution order. This does not change the default behaviour however.
* Add Guild.max_presences and Guild.max_membersNCPlayz2019-03-221-1/+7
| | | | | Fixes #1822 Fixes #1418
* Fix documentation for Channel.last_messageCapn2019-03-221-1/+1
|
* Fix mistake in documentation.Rapptz2019-03-201-1/+1
|
* Add back PartialEmoji.__hash__ that was deleted due to __eq__.Rapptz2019-03-201-0/+3
|
* [commands] Ensure handlers are copied even during update.Rapptz2019-03-201-12/+15
| | | | Fix #2001
* Drop websockets version due to issues.Rapptz2019-03-201-1/+1
|
* Add TextChannel.last_message_id and TextChannel.last_messageRapptz2019-03-202-1/+48
|
* Update docs, mostly Inviting Your Botapple502j2019-03-2010-39/+35
|
* Add type checking to multi-file sendDice2019-03-201-0/+2
| | | | Convert list comprehension to genexpr
* Fix sending multiple filesDice2019-03-201-2/+1
| | | | Fixes #2002
* Try to consistently use "inherit" vs "derive" in documentation.Rapptz2019-03-195-15/+15
|
* [commands] Redesign extension exception flow.Rapptz2019-03-193-21/+140
| | | | | | | | | | | | | | | | 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.Rapptz2019-03-192-47/+109
| | | | Also do atomic loading in Bot.load_extension
* [commands] ColourConverter raises if value is out of rangeJoshua B2019-03-191-0/+2
| | | | | changes make the `ext.commands.ColourConverter` Converter fail when user input is outside the acceptable value range 0x000000 - 0xFFFFFF
* Some widget fixes.Rapptz2019-03-192-7/+34
|
* Add support for guild widgetNCPlayz2019-03-196-14/+333
|
* Expose MetadataNCPlayz2019-03-197-10/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 documentationNCPlayz2019-03-1930-412/+410
|
* Take back ownership of files from aiohttp for retrying requests.Rapptz2019-03-184-22/+62
| | | | Fix #1809
* Minor typo fix.Rapptz2019-03-181-1/+1
|
* Add on_disconnect event.Rapptz2019-03-182-0/+9
| | | | I assume this is where it has to be. Fix #1937
* [commands] Walk through MRO for Cog derived classes.Rapptz2019-03-171-23/+37
| | | | | | | This should support cog subclasses in a relatively consistent way in terms of expectations. Hopefully nothing is broken. Fixes #1950
* Sorting bucket requires an integer.Rapptz2019-03-171-1/+1
|
* Fix typo in private property name.Rapptz2019-03-171-1/+1
|
* [commands] Make Bot.cogs and Bot.extensions read-only mappings.Rapptz2019-03-171-12/+23
| | | | | This also has the side effect of effectively documenting them for public use.
* Add support for store channels.Rapptz2019-03-175-8/+150
|
* Fix NameError in Embed.to_dictRapptz2019-03-171-1/+1
|
* Fix embed to_dict timestamp handling for python 3.5Michael H2019-03-171-1/+4
| | | | resolves #1992
* Fix pagination of huge command help messages (> ~2,000 chars)slice2019-03-161-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.
* Consider news channel type as a TextChannelJeremy "EndenDragon" Zhang2019-03-161-1/+1
|
* Fix documentation linking issue in Messageables and ContextRapptz2019-03-162-31/+31
|
* [commands] Rename it to Context.send_help for consistency.Rapptz2019-03-161-2/+2
|