|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| |\  
| | 
| | | Completely gutted the wolfram command. | 
| | |\  
| |/  
|/| |  | 
| |\ \  
| | | 
| | | | Added checks to ignore webhook and bot messages for antimalware | 
| | |\ \  
| |/ /  
|/| | |  | 
| |\ \ \  
| | | | 
| | | | | Use wait_for_deletion from bot/utils/messages.py rather than help_cleanup | 
| | |\ \ \  
| |/ / /  
|/| | | |  | 
| | | | | |  | 
| | | | | |  | 
| | | | | |  | 
| | |/ /  
|/| | |  | 
| | | | |  | 
| | | | |  | 
| | | | |  | 
| | | | |  | 
| | |/  
|/|   
| |   
| | | Moved to seasonalbot/bot/exts/evergreen/wolfram.py | 
| |\ \  
| | | 
| | | | Censor watchchannel messages when they contain leaked tokens | 
| | |\ \  
| |/ /  
|/| | |  | 
| | | | |  | 
| |\ \ \  
| | | | 
| | | | | 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. | 
| | | | |  | 
| | |/  
|/|   
| |   
| | | Fixes #1094 | 
| |\ \  
| | | 
| | | | Add doc cleanup | 
| | | | |  |