| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [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 note note about editing emoji in Guild.create_custom_emoji. | Vexs | 2018-09-20 | 1 | -2/+0 |
| | | | | | Remove incorrect note; extension of #1575 | ||||
| * | Correct ClientException message raised in invocation hooks. | MusicOnline | 2018-09-20 | 2 | -4/+4 |
| | | | | | For when the hooks are not coroutines. | ||||
| * | Add colour attribute for BaseUser | MusicOnline | 2018-09-16 | 1 | -0/+12 |
| | | |||||
| * | Fix webhook_update from code review | Jeremy Zhang | 2018-09-15 | 1 | -2/+3 |
| | | |||||
| * | Simple parser for WEBHOOKS_UPDATE | Jeremy Zhang | 2018-09-15 | 1 | -0/+4 |
| | | |||||
| * | Fix up the Sphinx strings causing warnings. | Rapptz | 2018-09-15 | 8 | -18/+18 |
| | | |||||
| * | Add support for Discord's slow mode. | Rapptz | 2018-09-14 | 3 | -8/+24 |
| | | | | | | | | Adds the following: * `slowmode_delay` for `TextChannel.edit` * `slowmode_delay` attribute for `TextChannel` | ||||
| * | Removed inaccurate note on emoji.py | Tarek1337 | 2018-09-14 | 1 | -2/+0 |
| | | | | | | | | In the docs, it says ``Note that bot accounts can only edit custom emojis they own.`` But after testing a bit. My bot was able to edit emojis in any guild that had the permissions `manage_roles`. Even if the bot didn't own the guild. Or was the original emoji uploader. And I don't see any mentions of this in the API server or in the documentation. So I'm unsure how this ended up in here. It's possible I am misunderstanding the whole note. My bad if that's the case. | ||||
| * | Change docstrings to raw-strings | BeatButton | 2018-09-14 | 14 | -29/+29 |
| | | |||||
| * | Fix PartialEmoji._as_reaction() for emojis the bot can't see | Carl Groth | 2018-08-30 | 1 | -1/+1 |
| | | | | | | | | If the bot has access to the emoji, you can pass anything for its name and it will work fine. The name is only required to be correct when adding a reaction where you do not have access to the emoji, all other cases ignore the name. | ||||
| * | [commands] Prepend mention prefixes in commands.when_mentioned_or | zephyrkul | 2018-08-28 | 1 | -1/+1 |
| | | |||||
| * | Call Http.start_group() in ClientUser.create_group() | Bryan Forbes | 2018-08-28 | 1 | -1/+1 |
| | | |||||
| * | Ensure large guilds are properly appended to the ready state guild list | Bryan Forbes | 2018-08-28 | 1 | -1/+1 |
| | | |||||
| * | Fix CallMessage.duration calculation | Bryan Forbes | 2018-08-28 | 1 | -2/+2 |
| | | |||||
| * | Remove Reaction.users "Python 3.4 usage" section | Hornwitser | 2018-08-28 | 1 | -11/+0 |
| | | | | | | Remove nonsensical "Python 3.4" usage section from Reaction.users(). Left behind from f25091ef. | ||||
| * | Fix behavior of reaction type-conversion | Bryan Forbes | 2018-08-25 | 1 | -1/+2 |
| | | |||||
| * | Fix latency being able to be negative | orlnub123 | 2018-08-24 | 1 | -6/+9 |
| | | |||||
| * | Correct Member.__hash__ | Mitchell Ferree | 2018-08-23 | 1 | -1/+1 |
| | | | | Make Member.__hash__ just use whatever its User object's hash impl is. | ||||
| * | Fix send_as_json not dispatching socket_raw_send | orlnub123 | 2018-08-23 | 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. | ||||
| * | Added hypesquad house functionality | mental | 2018-08-22 | 3 | -2/+36 |
| | | |||||
| * | 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 types used for __slots__ and __all__ | Hornwitser | 2018-08-22 | 4 | -4/+4 |
| | | | | | | Stay consistent with the rest of the library and use lists for module __all__ values and tuples for class __slots__ attributes. | ||||
| * | [lint] Replace deprecated Logger function warn | Hornwitser | 2018-08-22 | 1 | -1/+1 |
| | | | | | | | | The method log of Logger has never been documented as being a part of the standard logging module. It was renamed to warning when the module was included in the standard library, but the old name was kept for backward compatibility. | ||||
| * | [lint] Fix incorrect and inconsistent whitespace | Hornwitser | 2018-08-22 | 26 | -66/+62 |
| | | | | | Adjust whitespace to be consistent with the rest of the library. | ||||
| * | [lint] Remove unnecessary lambdas | Hornwitser | 2018-08-22 | 3 | -3/+3 |
| | | | | | Lambdas of the form `lambda x: func(x)` are redundant. | ||||
| * | [lint] Remove unused variables | Hornwitser | 2018-08-22 | 7 | -10/+9 |
| | | | | | Left over from various refactoring and rewrites. | ||||
| * | [lint] Remove unused imports | Hornwitser | 2018-08-22 | 16 | -21/+3 |
| | | | | | Left over from various refactoring and rewrites. | ||||
| * | Fix Reaction.users documentation | MusicOnline | 2018-08-22 | 1 | -4/+1 |
| | | |||||
| * | Adds missing voice regions. | MaximusPX | 2018-08-22 | 1 | -0/+2 |
| | | |||||
| * | Add Colour.from_hsv | bmintz | 2018-08-22 | 1 | -0/+8 |
| | | | | | | HSV is an easier to use colour format, and its inclusion in the colour module will hopefully encourage its use. | ||||
| * | Add support for splash(_url) to invites | DismissedGuy | 2018-08-22 | 1 | -0/+6 |
| | | |||||
| * | Implement roles kwarg for guild.create_custom_emoji and emoji.edit | PikalaxALT | 2018-08-22 | 3 | -8/+18 |
| | | |||||
| * | More informations for the Application info | El Laggron | 2018-08-22 | 1 | -1/+6 |
| | | | | | | This adds the rpc_origin, bot_public and bot_require_code_grant attributes | ||||
| * | [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 |
| | | |||||
| * | Update Message.author doctring | Dunkledore | 2018-08-22 | 1 | -1/+1 |
| | | |||||
| * | [commands] Added BucketType.members for cooldowns | Clement | 2018-08-22 | 2 | -1/+5 |
| | | |||||
| * | Explicitly mark event handlers private | Rapptz | 2018-08-09 | 1 | -2/+2 |
| | | |||||
| * | Add Permissions.priority_speaker. | slice | 2018-07-31 | 1 | -3/+12 |
| | | |||||
| * | message: de-duplicate reaction type conversion | bmintz | 2018-07-31 | 1 | -23/+15 |
| | | | | | | | Removes some duplicate code in Message.{add,remove}_reaction. The code in question converts the emoji object from Reaction, Emoji, str, or PartialEmoji to a string form suitable for sending over the wire. | ||||
| * | Fix dumb typo in the warning. | Rapptz | 2018-07-24 | 1 | -2/+3 |
| | | |||||
| * | Add a warning for self-bots in Client.login | Rapptz | 2018-07-24 | 1 | -0/+6 |
| | | | | | Closes #1449 | ||||
| * | Add clarification about creating guilds | Kot | 2018-07-24 | 1 | -2/+2 |
| | | |||||
| * | [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 | ||||