mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
* Added `[p]cleanup spam` function * formatting * accepts number and considers command message to total counts * use existing kwarg instead Safer to use the before kwarg as other messages might get included accidentally between invoking and executing Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com> * safer way to compare embeds and skip attachment only msgs Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com> * keeps the original message before the spam starts * now asks if its ok to delete 100+ spam msgs if found * unnecessary calculations, just add after * code styling and reverted history oldest_first option * switched to recommended logging formatting, thank you jack1142 * now using `get_messages_for_deletion()`, added needed limit kwarg * ugh forgot to swap em * duh * small string clarification Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>