aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
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-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-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]>