aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2021-04-07Update YouTube terms in the ytdl tagGravatar Ben Soyka-4/+4
2021-04-06Reduce default duration of stream permission from 30m to 5mGravatar Chris-1/+1
2021-04-06Add a comment to _reload_tasks_from_redis() in the Stream cog.Gravatar Chris-0/+2
2021-04-05Convert back to datetime as Embed.timestamp doesn't support ArrowGravatar Chris-1/+2
2021-04-05Output stream command confimation in embed for automatic tz conversionGravatar Chris-4/+14
2021-04-05Minor test changes for the !user embedGravatar Ben Soyka-10/+6
2021-04-05Migrate GHCR_TOKEN -> GITHUB_TOKEN in Docker build actionGravatar ks129-1/+1
GITHUB_TOKEN has now enough permissions to be used for pushing to GHCR, so we don't need PAT anymore.
2021-04-05chore: don't create an instance of intents before calling its classmethodGravatar vcokltfre-1/+1
2021-04-04Update information tests for new embed color logicGravatar Ben Soyka-6/+8
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-03Remove redundant conversion to Arrow datetime in Stream cogGravatar Chris-1/+1
2021-04-01Mention user when upgrading streaming permissions to permanentGravatar Chris-1/+1
2021-04-01Ensure duration is always tz-awareGravatar Chris-2/+7
2021-04-01Reword logging and docstrings to different moodGravatar ChrisJL-2/+2
Co-authored-by: Mark <[email protected]>
2021-04-01Use tz aware timestamps and refactor for readibility - Stream cogGravatar Chris-5/+3
2021-04-01Update schedule_at() to work with tz aware date timesGravatar Chris-2/+6
2021-04-01Remove redundant traceback log in log.exceptionGravatar Chris-2/+2
2021-04-01Only convert to naive when sending to scheduler, general refactor&commentsGravatar Chris-11/+20
2021-04-01Convert to arrow for datetime managementGravatar Chris-4/+6
2021-04-01Remove unnecessary wrapper variableGravatar Chris-2/+3
2021-04-01Change references to user's in Stream cog to membersGravatar Chris-40/+42
2021-04-01Fix spelling errors in logging statements - Stream cogGravatar ChrisJL-2/+2
Co-authored-by: Shivansh-007 <[email protected]>
2021-04-01Rename function in stream cog for consistancyGravatar Chris-4/+4
2021-04-01Describe redis cache var better in stream cogGravatar Chris-1/+1
2021-04-01Update policy documentsGravatar Matteo Bertucci-122/+8
2021-04-01Sprinkle some logging into the Stream cogGravatar Chris-4/+15
2021-04-01Stream cog docstring updatesGravatar Chris-3/+4
2021-04-01function sig formatting, function ordering and remove unnessisary functionGravatar Chris-28/+10
2021-03-31Remove empty test for stream cogGravatar Chris-20/+0
2021-03-31Atempt to get member from cache first, and handle errors from API member callGravatar Chris-1/+19
2021-03-31Refactor code to match prevailing style, and reword some output in streaming cogGravatar Chris-8/+10
2021-03-31Remove unnessisary functions in stream cogGravatar Chris-6/+2
2021-03-31Simplify name of function param in stream cogGravatar Chris-3/+3
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.