aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2021-04-04Use Member.colour rather than a list comprehension for !userGravatar Ben Soyka-3/+1
2021-04-04Ignore colourless roles in !user embedGravatar Ben Soyka-1/+3
2021-04-04Blacklist staff_info for duckpondGravatar Boris Muratov-0/+2
2021-04-01Update policy documentsGravatar Matteo Bertucci-122/+8
2021-03-31Branding: log after successful fetchGravatar kwzrd-0/+4
Co-authored-by: Shivansh-007 <[email protected]> Co-authored-by: Joe Banks <[email protected]>
2021-03-31Branding: apply documentation improvements after reviewGravatar kwzrd-8/+8
No code changes in this commit. Co-authored-by: Shivansh-007 <[email protected]> Co-authored-by: Joe Banks <[email protected]>
2021-03-31Branding: target 'main' branchGravatar kwzrd-2/+2
With the branding-side PR merged, we can now target the production branch.
2021-03-30Use deleted reason if help channel is closed due to being emptyGravatar Chris-1/+2
2021-03-30Fix copy & paste error in closing reason enumGravatar Chris-1/+1
2021-03-30Removed user event announcements from the config.Gravatar Den4200-4/+0
2021-03-30Change to an Enum for possible closing reasonsGravatar Chris-20/+32
2021-03-30Gracefully handle failure to upload to hastebin in `!dmrelay`.Gravatar Den4200-0/+5
2021-03-30Replace usage of `textwrap.dedent` with a cleaner method.Gravatar Den4200-5/+4
2021-03-30Remove `dm_log` from channels and webhooks in the config.Gravatar Den4200-4/+0
2021-03-30Enumerate all possible values for closed_on in docstringGravatar Chris-1/+4
2021-03-30HelpChannels: refactor get_closing_timeGravatar MarkKoz-43/+43
2021-03-30HelpChannels: use aware datetimes everywhereGravatar MarkKoz-27/+34
Fix issues converting timestamps to datetimes and vice-versa. The main culprit id `datetime.timestamp()`, which always assumes naïve objects are in local time. That behaviour conflicts with discord.py, which returns naïve objects in UTC rather than local time. Switching from `utcfromtimestamp` to `fromtimestamp` was incorrect since the latter also assumes the timestamp is in local time.
2021-03-30Update arrow to 1.0.3Gravatar MarkKoz-267/+336
It has some API changes, so it's best to update now before the project starts using the library more.
2021-03-30Increase the total number of help channels to 42Gravatar Sebastiaan Zeeff-1/+1
We've seen an increase in help channel activity and we're running out of help channels frequently. That's why we're increasing the number of help channels from 38 to 42. Note that the old configuration said 32, but we had more channels in actual rotation due to a race condition we had in the past. The system will never delete channels that were already in rotation, meaning that those that were added over the limit in the past still existed.
2021-03-30Alphabetize configurationGravatar Matteo Bertucci-5/+5
2021-03-28Add myself to CODEOWNERS (#1489)Gravatar Joe Banks-9/+9
2021-03-28Update bot/exts/info/information.pyGravatar ToxicKidz-1/+1
Co-authored-by: Joe Banks <[email protected]>
2021-03-28Filter codeblick escapes and allow no mentions for !raw commandGravatar ToxicKidz-5/+5
2021-03-28Reduce API calls in `!dmrelay`.Gravatar Den4200-15/+13
2021-03-28Force cache to update for user history.Gravatar Den4200-1/+8
Before, the user would have to send a DM to the bot after startup for the bot to realize there is DM history with that specific user. Now, we force a cache refresh when a moderator invokes `!dmrelay`, so this shouldn't be an issue anymore.
2021-03-28Account for requesting the bot's DMs with itself.Gravatar Den4200-1/+1
2021-03-28Improve `DMRelay` cog description.Gravatar Dennis Pham-1/+1
Co-authored-by: Joe Banks <[email protected]>
2021-03-28Added a newline to space out some code.Gravatar Dennis Pham-0/+1
Co-authored-by: Joe Banks <[email protected]>
2021-03-28Branding: add contextual message to #changelog notificationsGravatar kwzrd-9/+11
It would be strange to just send the embed with no explanation of what it means.
2021-03-27Branding: omit notification when entering evergreenGravatar kwzrd-3/+3
The fallback event should not produce a notification.
2021-03-27Restrict DMRelay cog to moderators only.Gravatar Den4200-2/+6