aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2021-04-12Remove reactions from everyone when paginating and waiting for trashcan ↵Gravatar ToxicKidz-44/+68
reaction. (#1471) * Remove reactions from everyone * Make flake8 happy * Make flake8 happy again * Remove reactions in check functions * Make flake8 happy for the last time * Update bot/pagination.py Co-authored-by: Kieran Siek <[email protected]> * Make create_task one line and return False in checks * Fix return so it returns either True or False * Use scheduling.create_task and suppress HTTPException * Suppress HTTPException in scheduling.create_task * Remove double if-statements Co-authored-by: Mark <[email protected]> * change suppress_exceptions to suppressed_exceptions * Make suppressed_exceptions a kwargs for _log_task_exception * Update scheduling.create_task call to correspond with *args * Fix NameError: reaction, user -> reaction_, user_ * Update scheduling.create_task call to correspond with *args in messages.wait_for_deletion * reaction -> reaction_ * Ignore reactions from the bot * Fix type annotations for create_task * Refactor add_reaction check to a separate function * Name the remove_reaction task Co-authored-by: Kieran Siek <[email protected]> Co-authored-by: Mark <[email protected]>
2021-04-12Use == instead of str.startswithGravatar ToxicKidz-2/+3
2021-04-11Sort the available help channels in #how-to-get-help by positionGravatar ToxicKidz-1/+3
2021-04-11Filtering: use a more thorough regex for zalgo & invisible charsGravatar MarkKoz-35/+91
Install the regex package to take advantage of its support for Unicode categories.
2021-04-11Recruitment: Don't use emoji literalsGravatar Matteo Bertucci-9/+9
2021-04-09Filtering: remove invisible characters before checking filtersGravatar MarkKoz-0/+22
2021-04-08Added how_to_get_help channel constant.Gravatar Xithrius-0/+2
2021-04-08Close voice channels with defcon shutdownGravatar onerandomusername-2/+2
2021-04-08update commentGravatar Numerlor-1/+1
2021-04-08Use 'Similar names' instead of 'moved' in footerGravatar Numerlor-1/+1
The meaning of 'moved' may not have been clear for people that weren't familiar with how the system works Co-authored-by: MarkKoz <[email protected]>
2021-04-07Use the UK version of the YouTube TOSGravatar Ben Soyka-3/+3
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-06Talentpool: loop style changeGravatar Matteo Bertucci-1/+1
Co-authored-by: ToxicKidz <[email protected]>
2021-04-06Properly handle the lack of nomination of a userGravatar Matteo Bertucci-2/+2
2021-04-06Use emoji names in nomination bodyGravatar Matteo Bertucci-1/+1
This caused unicode errors in Discord attachment previews.
2021-04-06Add a !tp get_review command to get the nomination text without posting itGravatar Matteo Bertucci-13/+37
This can be used when an information should be added to the post, or someone wants to review the user.
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-01Add missing 'attempts'Gravatar Numerlor-1/+3
Co-authored-by: Kieran Siek <[email protected]>
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