|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| ... |  | 
| | | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | | Let's continue to use "@everyone" for now, and add an explicit allow for
it so that it successfully pings people.
There's a full justification for this in the pull request.
https://github.com/python-discord/bot/issues/1038 | 
| | | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | | This comment violates the DRY principle.
Co-authored-by: Sebastiaan Zeeff <[email protected]> | 
| | | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | | Now that we're running Discord 1.4.0a, we need to explicitely allow all
the role mentions for sends that don't use ping one of the globally
whitelisted role pings, which are Moderators, Admins and Owners.
We were pinging roles other than Mods+ in exactly two cases:
- Inside the Syncers, whenever we ask for sync confirmation (if the
  number of roles or users to sync is unusually high)
- In the help_channels.py system, whenever we max out help channels and
  are unable to create more.
This commit addresses both of these.
GitHub #1038
https://github.com/python-discord/bot/issues/1038 | 
| | |/ / / / /  
|/| | | | |   
| | | | | |   
| | | | | |   
| | | | | |   
| | | | | |   
| | | | | |   
| | | | | |   
| | | | | |   
| | | | | |   
| | | | | | | Instead of pinging @everyone, let's just ping the people who actually
need to see the mod alerts or the modlogs, which would be the mods.
`@everyone` is currently not permitted by our allowed_mentions setting,
so this also restores pings to those channels.
GitHub #1038
https://github.com/python-discord/bot/issues/1038 | 
| |\ \ \ \ \ \  
| | | | | | | 
| | | | | | | | Add range-len tag | 
| | |\ \ \ \ \ \  
| |/ / / / / /  
|/| | | | | | |  | 
| | | | | | | | 
| | | | | | | 
| | | | | | | | Removed all blank lines to improve how it's rendered on Discord; thanks @kwzrd for rendering this! | 
| | | | | | | | |  | 
| | | |/ / / /  
| |/| | | | |  | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | Co-authored-by: MarkKoz <[email protected]> | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | Suggested by Mark during review. If the download fails, we fallback
on showing an informative message, which will link the attachment
cdn link.
The attachment-handling logic was moved from the `archive` coroutine
into `make_embed`, which now also returns the file, if available.
In the end, this appears to be the smoothest approach.
Co-authored-by: MarkKoz <[email protected]> | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | Co-authored-by: MarkKoz <[email protected]> | 
| | | | |\ \ \  
| |_|_|/ / /  
|/| | | | | |  | 
| |/ / / / /  
| | | | |   
| | | | |   
| | | | | | Fixes BOT-6T | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | | Co-authored-by: MarkKoz <[email protected]> | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | | Co-authored-by: MarkKoz <[email protected]> | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | | Better than building the set manually. Tested against regression by
comparing the two sets for equality.
Suggested by vivax.
Co-authored-by: vivax3794 <[email protected]> | 
| | | |\ \ \  
| |_|/ / /  
|/| | | | |  | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | | Forgot to do this after removing editable. | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | | It may be causing it to not be cached in Azure. | 
| | | | | | |  | 
| | | | | | |  | 
| | | | | | |  | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | | This was open to abuse when the bot relayed user input. | 
| |\ \ \ \ \  
| | | | | | 
| | | | | | | ModLog: fix AttributeError in on_member_update | 
| | |\ \ \ \ \  
| |/ / / / /  
|/| | | | | |  | 
| |\ \ \ \ \ \  
| | | | | | | 
| | | | | | | | Implement the Slowmode cog | 
| | | | | | | | |  | 
| | | | | | | | |  | 
| | | | | | | | |  | 
| | | | | | | | |  | 
| | | | | | | | |  | 
| | | | | | | | |  | 
| | | | | | | | |  | 
| | | | | | | | |  | 
| | | | | | | | |  | 
| | | | | | | | |  | 
| | | | | | | | |  | 
| | | | | | | | |  | 
| | |\ \ \ \ \ \  
| | | | | | | | 
| | | | | | | | 
| | | | | | | | | feat/util/1019/slowmode | 
| | | |\ \ \ \ \ \  
| |_|/ / / / / /  
|/| | | | | | | |  | 
| | | | | | | | | |  | 
| | | | | | | | | |  | 
| | | | | | | | | |  | 
| | | | | | | | | |  | 
| | |\ \ \ \ \ \ \  
| |/ / / / / / /  
|/| / / / / / /   
| |/ / / / / / |  | 
| | | | | | | | |  | 
| | | | | | | | |  | 
| | | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | | This makes sure the log will be made, since the operations executed are now below it. | 
| | | | | | | | |  |