aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2022-01-26Add missing restart-policy to metricity containerGravatar Chris Lovering-0/+1
2022-01-26setuptools use stdlib distutils over embeddedGravatar Chris Lovering-0/+4
This is caused by an upstream issue with setuptools 60.* (via virtualenv) changeing the default to using the setuptools-embedded distutils rather than the stdlib distutils, which breaks within pip's isolated builds. This is explained quite well here https://github.com/pre-commit/pre-commit/issues/2178#issuecomment-1002163763
2022-01-25Add missing arguments to `notify_infraction` callGravatar Izan-2/+6
Fixes an issue caused by #1951.
2022-01-25Rename `contributing guidelines` to `contribution guide`Gravatar Andrew Hong-1/+1
2022-01-24Remove dev-contrib and bot-commands from features listGravatar Joe Banks-2/+0
2022-01-18chore: Apply suggestionsGravatar ToxicKidz-8/+7
As per Numerlor's suggestions, update docstrings, remove unused variables and fix a TypeError if the code is None.
2022-01-17chore: Apply suggestions and adjust testsGravatar ToxicKidz-47/+29
2022-01-17fix: Modify tests to correspond with Snekbox.continue_evalGravatar ToxicKidz-8/+11
2022-01-17fix: Add timeit parsing when the command gets reinvokedGravatar ToxicKidz-13/+34
2022-01-17Fix pastebin hyperlink to use correct markdown syntaxGravatar Nipa-Code-1/+1
Fix format from `[link](text)` to `[text](link)` so that the link will be formatted as it should be.
2022-01-16Shorten the `TXT_EMBED_DESCRIPTION` message (#2048)Gravatar Steele Farnsworth-8/+2
2022-01-14chore: fix a typoGravatar ToxicKidz-1/+1
Co-authored-by: Bluenix <[email protected]>
2022-01-13chore: Suppress output in the setup code, not the code that gets timed.Gravatar ToxicKidz-20/+56
If multiple formatted codeblocks are passed to the command, the first one will be used as the setup code that does not get timed.
2022-01-09Time: revise docstringsGravatar MarkKoz-7/+9
2022-01-09Scheduling: add Arrow to schedule_at's type annotationsGravatar MarkKoz-1/+3
2022-01-09Converters: use datetime.timezone instead of dateutil.tzGravatar MarkKoz-3/+2
They're equivalent for UTC. Get rid of the extra import.
2022-01-09Use codeblock regex from bot-core in snekbox cogGravatar Chris Lovering-15/+1
2022-01-09Move single-use message ID regex to inside file that uses itGravatar Chris Lovering-4/+2
This moves the regex closer to the place actually using the regex, and removes the need for a regex.py file entirely.
2022-01-09use regex from bot-core for discord invitesGravatar Chris Lovering-16/+4
2022-01-09Add bot-core as a dependancyGravatar Chris Lovering-76/+81
2022-01-08Fix snekbox tests with new allowed_mentionsGravatar Ben Soyka-4/+20
2022-01-08Restrict allowed mentions for !eval resultsGravatar Ben Soyka-2/+3
2022-01-04modlog: wait for guild init before using channel cacheGravatar Kronifer-0/+3
Not doing so could cause an error where get_channel would return none for the mod logs channel.
2022-01-01Infraction mod-log improvementsGravatar Izan-4/+5
- Add infraction id to infraction edit modlog - Add missing colon in "infraction applied" message - Utilise defined infraction id variable instead of indexing dict again
2021-12-29Add text indicating when user fetched by message (#2013)Gravatar TizzySaurus-16/+18
Co-authored-by: Xithrius <[email protected]>