|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| ... |  | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | Switched from string.format to f-string for server member count. | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | The you can view the embed text in the `everyone_ping.py` file.
The embed also now sends in the server instead of a DM. | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | Removed a debug `print` statement, fixed a spelling mistake.
Also added a comment for the DM string. | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | When a user pings the everyone role, they now get an embed explaining
why what they did was wrong.
The ping detection was also fixed to not thing that every message was a
ping (changed form `>=` to `>`). | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | Changed the method of checking for an everyone ping.
Also changed the config to act as `min pings` instead
of `ping enabled/disabled`. | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | The `max` and `interval` values were required, so they were added to
the config file and the rule was modified to accept these new values. | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | Added mapping to anti-spam cog, then also edited __init__ in the rules
folder to expose the apply function. | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | Added the filter rule to the bot/rules folder. | 
| | |_|/ / / / / / / / / / /  
|/| | | | | | | | | | | | |  | 
| |\ \ \ \ \ \ \ \ \ \ \ \ \  
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | Support specifying top-level aliases in the command decorator | 
| | |\ \ \ \ \ \ \ \ \ \ \ \ \  
| |/ / / / / / / / / / / / /  
|/| | | | | | | | | | | | | |  | 
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \  
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | | Bold link to asking guide in help channel embeds | 
| |/ / / / / / / / / / / / / / |  | 
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \  
| |_|_|/ / / / / / / / / / /  
|/| | | | | | | | | | | | | | Enhanced user command | 
| | |\ \ \ \ \ \ \ \ \ \ \ \ \  
| |/ / / / / / / / / / / / /  
|/| | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | |  | 
| | | |_|_|_|_|_|_|_|/ / / /  
| |/| | | | | | | | | | | |  | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | | | Just like normal aliases, they should only be tuples or lists. This is
likely done by discord.py to prevent accidentally passing a string when
only a single alias is desired. | 
| | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | | | 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. |