|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| ... |  | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | | This commit changes the clean command to send a message instead of raising BadArgument when no messages are found.
Not finding messages is not an error, and doesn't necessarily require the help embed to spring up, just that the parameters might need tweaking. | 
| | | | | | | | | | | |  | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | | This commit further splits the bulky _clean_messages function, and all its helper functions are grouped together in the same region.
Additionally, this commit fixes logging by logging only the messages that have been successfully deleted, before being possibly interrupted by the cancel command. | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | | This name as been confusing moderators for a while now.
"amount" sounds like this is the amount of messages that the bot will try to delete, and keep going until it reaches that number.
In reality it's the amount of latest messages per channel the bot will traverse.
Hopefully the new name conveys that better. | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | | The cache is used only when all channels are used, as before.
Unlike before, using all channels requires using "*" in the channels argument. Before all channels would be used if use_cache was set to True.
Using all channels uses the cache by default. To traverse every single text channel in the server, setting use_cache to False is required in the command. | 
| | | | | | | | | | | |  | 
| | | | | | | | | | | |  | 
| | | | | | | | | | | |  | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | | Between the concurrency check and setting the cleaning flag to True there was an await statement, which could potentially cause race conditions.The setting of the flag was moved to right below the concurrency check. | 
| | | | | | | | | | | |  | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | | The cog is moderation related and all commands are exclusive to moderators. | 
| | | |\ \ \ \ \ \ \ \ |  | 
| | | | | | | | | | | | |  | 
| | | | | | | | | | | | |  | 
| | | | | | | | | | | | |  | 
| | | | | | | | | | | | |  | 
| | | | | | | | | | | | |  | 
| | | | | | | | | | | | |  | 
| | | |\ \ \ \ \ \ \ \ \ |  | 
| | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | |  | 
| | | |\ \ \ \ \ \ \ \ \ \ |  | 
| | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | |  | 
| | | |\ \ \ \ \ \ \ \ \ \ \ |  | 
| | | |\ \ \ \ \ \ \ \ \ \ \ \ |  | 
| | | | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | | new name should be more selfexplanatory | 
| | | | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | | Embed for `!infractions by` no longer has the author in codeblock. | 
| | | | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | | - Add `format_infraction_count` and migrate
- Improve logic for `actor` being `"m"`/`"me"`
- Rename `search_by_user` to `search_by_actor`
- Better Ordering Logic (thanks @ChrisLovering)
- Make embed title consistent with other search embeds | 
| | |_|_|_|_|_|_|_|/ / / / / /  
|/| | | | | | | | | | | | | |  | 
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ |  | 
| |/ / / / / / / / / / / / / /  
| | | | | | | | | | | | | |   
| | | | | | | | | | | | | | | Solves https://github.com/python-discord/bot/issues/1896 | 
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \  
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | | Mod-log thread: use soft colors | 
| |/ / / / / / / / / / / / / /  
| | | | | | | | | | | | | |   
| | | | | | | | | | | | | | | Seems like we have been using the wrong colors in mod-log. | 
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \  
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | | Handle edge case of `message.author` being a `discord.User` when claiming a help channel. | 
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \  
| |/ / / / / / / / / / / / / /  
|/| | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | | |  |