This repository was archived by the owner on Oct 26, 2021. It is now read-only.
Repository navigation
Releases
Releases · WalshyDev/AutoCleanBot
Version 1.2 - Improvements and bug fixes
Changelog
- Improved MySQL handling (when connections are opened and closed)
- Improved statement performance - Actually utalised the prepared statements
- Updated JDA - No shiny new Discord thing will cause errors!
- Added support for channel ID to be passed
- Fixed bug in
!autocleanwhere re-setting a task would throw "Less than 5 minutes" error - Fixed the duration being shown in
!autoclean list, it's now4hrather than14400000ms - Fixed bug in
!autocleanwhere it would think it was less than 5 mins if doing only4h.
Commit log
Big cleanup!
* Cleaned up the code a lot
* Fixed bug where re-setting a task would fire "Task is less than 5 minutes" error.
* Fixed terrible time formatting in `!autoclean list`
* Improved performance of SQL statements
Update to JDA 4
Support channel ID and improve MySQL handling
Release 1.2
Version 1.1 - Better logging
v1.1 Merge branch 'master' of https://github.com/WalshyDev/AutoCleanBot
Updated JDA
v1.0.1 Merge branch 'master' of https://github.com/WalshyDev/AutoCleanBot
AutoCleanBot
!clean [y] - Cleans the channel you executed the command in, wont clean pins unless y is passed.
!autoclean (#channel) (time) (clear pins, pass y here) - Sets up a task to clean the mentioned channel every specified time. Example usage: !autoclean #bot-tests 5m y - This will clean #bot-tests every 5 mins and clear the pins.
!autoclean list - List the tasks.
!autoclean remove (#channel) - Remove a task for a certain channel. Example usage: !autoclean remove #bot-tests