aboutsummaryrefslogtreecommitdiffstats
path: root/tests/base.py (unfollow)
Commit message (Collapse)AuthorLines
2021-03-19Apply requested style and grammar changesGravatar Boris Muratov-2/+2
2021-03-13Apply requested grammar and style changes.Gravatar Boris Muratov-8/+13
2021-03-13Use log instead of erroneous self.logGravatar Boris Muratov-1/+1
2021-03-12Improve string building for long linesGravatar Boris Muratov-9/+15
2021-03-12Reviewer no longer subclasses SchedulerGravatar Boris Muratov-5/+31
It didn't make much sense for the Reviewer to subclasses Scheduler. The Scheduler has methods that don't make sense to use on the Reviewer directly. There is now a Scheduler object as an attribute of the Reviewer. Interacting with it is done by adding __contains__, cancel, and cancel_all methods.
2021-03-11The 'seen vote' emoji is now a random ducky.Gravatar Boris Muratov-4/+15
2021-03-11Limit new commands to mods+Gravatar Boris Muratov-0/+2
2021-03-11Added an auto-reviewer to the talentpool cogGravatar Boris Muratov-26/+404
This commit adds the functionality to automatically review a nominee a set number of days after being nominated. This is implemented by subclassing the Scheduler and formatting a review after 30 days. The review contains details of the nominee, their nominations, the number of messages they have and the channels they're most active in, and statistics about their infractions and previous nominations. Lastly, the bot will add three emojis to the review: eyes to mark as seen, a thumbsup, and thumbsdown for the vote itself. The code accounts for the possibility of the review being too long for a single message but splitting it where necessary.