aboutsummaryrefslogtreecommitdiffstats
path: root/tests/base.py (unfollow)
Commit message (Collapse)AuthorLines
2022-02-28feat: Allow moderators to use buttons in other people's help commandGravatar andy-1/+3
2022-02-28docs: Make docstring sound betterGravatar andy-1/+1
2022-02-28fix: Make help buttons only work for authorGravatar andy-5/+15
2022-02-23fix: Make sure the regex match is not None before adding to claimaints cacheGravatar ToxicKidz-3/+4
If there was a bot message in a help channel that contained an embed that was not the claimed channel message, this would raise an attribute error.
2022-02-22Fixup: remove extra blank lineGravatar minalike-1/+0
2022-02-22🐛 Fix to correctly calculate number of seconds from last notificationGravatar minalike-2/+2
total_seconds() is the correct method to obtain a time delta in seconds
2022-02-22👌 Only send metric if helpers were notifiedGravatar minalike-6/+4
2022-02-22👌 Fix indentation and update grammar for when only 1 channel remainsGravatar minalike-8/+11
2022-02-20Handle uncached claimant on unclaimGravatar Chris Lovering-5/+8
This could be possible during init_available. If there are too many available channels they are made dormant by calling unclaim_channel. However there may not be claimants cached and ensure_claimants wouldn't populate cache, since the channels weren't in use.
2022-02-20Ensure each in-use channel has a cached claimant on initGravatar Chris Lovering-0/+35
This avoids issues when a user tries to close a channel, but the cache is empty, so the author check fails.
2022-02-20Cancel help channel claim on 500 from DiscordGravatar Chris Lovering-2/+19
If we get a 500 error from Discord when trying to move the help channel to in use, attempt to let the user know, then cancel the claim.
2022-02-20Remove discord formatted timestamp from log message (#2100)Gravatar TizzySaurus-2/+6
2022-02-19Add user ID in message content for mod-alerts, but not for autobansGravatar mina-2/+7
2022-02-18fixup: implemeent code review commentsGravatar Chris Lovering-3/+8
2022-02-18Add logic so that manually archived threads bypass the thread bump listGravatar Chris Lovering-9/+37