|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| | |  | 
| | |  | 
| | 
| 
| 
| | The fruits of my labour. | 
| | 
| 
| 
| 
| 
| 
| 
| | Even if the `command` decorators are patched, there are still some other
internal things that need to be patched. For example, the default help
command subclasses the original `Command` type. It's more maintainable
to exclude root alias support for these objects than to try to patch
everything. | 
| | 
| 
| 
| 
| 
| | To avoid explicitly specifying `cls` everywhere, patch the decorators
to set the default value of `cls` to the `Command` subclass which
supports root aliases. | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | Override `Bot.add_command` and `Bot.remove_command` to add/remove root
aliases for a command (and recursively for any subcommands). This has
to happen in `Bot` because there's no reliable way to get the `Bot`
instance otherwise. Therefore, overriding the methods in `GroupMixin`
unfortunately doesn't work. Otherwise, it'd be possible to avoid
recursion by processing each subcommand as it got added. | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | A subclass is used because cogs make copies of Command objects. They do
this to allow multiple instances of a cog to be used. If the Command
class doesn't inherently support the `root_aliases` kwarg, it won't end
up being copied when a command gets copied.
`Command.__original_kwargs__` could be updated to include the new kwarg.
However, updating it and adding the attribute to the command wouldn't be
as elegant as passing a `Command` subclass as a `cls` attribute to the
`commands.command` decorator. This is because the former requires
copying the entire code of the decorator to add the two lines into the
nested function (it's a decorator with args, hence the nested function). | 
| | |  | 
| |\  
| | 
| | | Restrict reminder methods to authors and admins. | 
| | |\  
| |/  
|/| |  | 
| |\ \  
| | | 
| | | 
| | | 
| | | | python-discord/bug/1112/backend/wait-for-deletion-client
Make client parameter mandatory for wait_for_deletion | 
| |/ /  
| |   
| |   
| |   
| |   
| |   
| |   
| | | A client instance is necessary for the core feature of this function.
There is no way to obtain it from the other arguments. The previous
code was wrong to think `discord.Guild.me` is an equivalent.
Fixes #1112 | 
| |/  
|   
|   
|   
|   
| | Before, any user could modify the reminders of others by the id.
This restricts the behaviour to only admins and users can only modify
the reminders they authored. | 
| |\  
| | 
| | | Add doc cleanup | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| |\ \  
| | | 
| | | | Unnominate banned users from the talent pool | 
| | | | |  | 
| | | | 
| | | 
| | | 
| | | 
| | | | The defaults should be last to ensure they don't take precedence over
explicitly set values. | 
| | | | 
| | | 
| | | 
| | | | Fixes #1065 | 
| |\ \ \  
| | | | 
| | | | | Filtering: ignore errors for duplicate offensive messages | 
| | | |/  
| |/|   
| | |   
| | |   
| | |   
| | |   
| | | | The error happens when a filter is triggered by a message edit.
Fixes #1099
Fixes BOT-6B | 
| |\ \ \  
| | | | 
| | | | | Don't patch ctx.message.author in antispam | 
| | | | | 
| | | | 
| | | | 
| | | | | Discord has a limit of 2000 characters for messages. | 
| | | |/  
| |/|   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | | | The modification propagated across all code that is using the same
`Message` object, including all other `on_message` listeners. This
caused weird bugs e.g. the filtering cog thinking the bot authored a
message that triggered a filter.
Patching only `ctx.author` means the implementation is more fragile.
Infraction code must ensure it only retrieves the author via
`ctx.author` and not through `ctx.message`.
Fixes #1005
Fixes BOT-7D | 
| |\ \ \  
| | | | 
| | | | 
| | | | 
| | | | | python-discord/bug/frontend/1030/reddit-title-escape
Escape Markdown in reddit post titles | 
| | |\ \ \  
| |/ / /  
|/| | | |  | 
| | |/ /  
|/| | |  | 
| |/ /  
| |   
| |   
| |   
| |   
| |   
| | | Use a Unicode look-alike character to replace square brackets, since
they'd otherwise interfere with the Markdown.
Fixes #1030 | 
| |\ \  
| |/  
|/| | Fix typo on the traceback tag | 
| |/  
|   
| | See issue #1101 | 
| |\  
| | 
| | | Remove api endpoint config values. | 
| | |\  
| |/  
|/| |  | 
| | | |  | 
| | | |  | 
| |/  
|   
|   
|   
| | The constants aren't used anywhere in the bot,
and are incompatible with the APIClient. | 
| |\  
| | 
| | 
| | 
| | | python-discord/bug/filters/1027/ignore-webhook-names
Ignore webhooks for nickname filter | 
| | |\  
| |/  
|/| |  | 
| |\ \  
| | | 
| | | | Utils: show error message for long poll titles | 
| | |\ \  
| |/ /  
|/| | |  | 
| | | | |  | 
| |\ \ \  
| | | | 
| | | | | Help channel message pin fixes | 
| | |\ \ \  
| |/ / /  
|/| | | |  | 
| |\ \ \ \ |  | 
| | |\ \ \ \  
| |/ / / /  
|/| | | | |  | 
| |\ \ \ \ \  
| | | | | | 
| | | | | | | Deps: update discord.py to 1.4.0 | 
| |/ / / / /  
| | | | |   
| | | | |   
| | | | | | It was released on PyPI. No longer need to clone via git. | 
| | | | | | |  |