aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2021-10-17Use modlog ignore function for voice events tooGravatar Chris Lovering-1/+2
2021-10-17Refactor: Update modlog ignore function nameGravatar Chris Lovering-3/+3
This new name better describes what this function actually does
2021-10-17Ignore channels mod team can't view in modlogGravatar Chris Lovering-8/+19
The main purpose of this is so that we don't need to keep adding to the modlog_blacklist for every new channel we want to ignore, since it now implicitly ignores channels mods don't have read perms to. This is done by making use of Discord.py 2.0's updated behaviour of Channel.permissions_for() where it can now accept a role and determines the permissions of users in that role for a given channel. This takes into account default permissions as well as channel overrides. Co-authored-by: Xithrius <[email protected]>
2021-10-17Modlog: remove tzinfo from member_join (#1877)Gravatar Matteo Bertucci-1/+1
2021-10-16Do not try to calculate expiry if infraction is permanent on reapplyGravatar ks129-5/+9
2021-10-15Voice gate: set tzinfo to None in author.joined_atGravatar Matteo Bertucci-1/+1
2021-10-15Defcon: remove tzinfo from member.created_atGravatar Matteo Bertucci-1/+1
2021-10-15Isort: set atomic to trueGravatar Matteo Bertucci-0/+1
2021-10-15Actions: do not check licenses of dev packagesGravatar Matteo Bertucci-2/+4
2021-10-14Update `isinstance` checkGravatar TizzySaurus-1/+1
2021-10-14Fix newlines after imports and address reviewGravatar Izan-6/+2
There's now always one blank line (no more, no less) after an import
2021-10-14Migrate to `bot.log.get_logger` functionGravatar Izan-206/+199
2021-10-14Add `CustomLogger` to bot/log.pyGravatar Izan-18/+33