aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2021-06-13(modpings): 16 hours is the maximum schedule limitGravatar Shivansh-007-7/+7
2021-06-13(modpings): Use scheduling.create_task wrapperGravatar Shivansh-007-9/+9
2021-06-13(modpings): Use 24 hour formatGravatar Shivansh-007-1/+1
2021-06-12Edit indentationGravatar Jake-3/+3
Co-authored-by: ToxicKidz <[email protected]>
2021-06-12Add bool converter to allow a variety of inputsGravatar Slushs-4/+4
2021-06-12Add bool converter to allow a variety of inputsGravatar Slushs-11/+10
2021-06-12Move the suppressed_exceptions argument to an optional kwargGravatar Numerlor-2/+3
Forcing it to be passed as a kwarg makes it clearer what the exceptions are for from the caller's side.
2021-06-12Add Optional typehint to parameterGravatar Numerlor-4/+4
The indentation was also dedented one level and a trailing comma added to be consistent over the project Co-authored-by: ToxicKidz <[email protected]>
2021-06-12Add an optional loop kwarg to scheduling.create_taskGravatar Numerlor-3/+15
Before this change, the create_task util couldn't be used to schedule tasks from the init of cogs, as it relied on asyncio.create_task that uses the currently running loop to create the task. The loop kwarg allows the caller to pass the loop itself if there's no running loop yet.
2021-06-11Add black-formatter to reminders overridesGravatar Richard Si-0/+6
Adds the black-formatter channel to the remind command overrides to allow usage of the command in the channel. This isn't the cleanest patch, ideally the whole OSS category would be whitelisted but the filter currently doesn't support categories. Co-authored-by: Hassan Abouelela <[email protected]>
2021-06-11(modpings): Cancel scheduler and tasks on cog unloadGravatar Shivansh-007-0/+3
2021-06-11(modpings): Make flake8 happy!Gravatar Shivansh-007-3/+8
2021-06-11(modpings): Use separate scheduler for modpings scheduleGravatar Shivansh-007-7/+8
2021-06-11(modpings): Cancel the task before scheduling it againGravatar Shivansh-007-0/+3
2021-06-10Edit ignore close messages if statementGravatar Slushs-1/+1
2021-06-10Tests: update infraction DM to mention UTCGravatar Matteo Bertucci-2/+2
2021-06-10Infraction: DM mention that the expiration is in UTC timeGravatar Matteo Bertucci-1/+1
We have a few users DMing ModMail to ask why they haven't been unmuted and their mute should have expired. Most of the time it is simply that they forgot to convert their local time to UTC time. This can hopefully avoid some of those instances.
2021-06-10Add modpings schedule featureGravatar Shivansh-007-1/+81
2021-06-08Change discord.py colour to constants colourGravatar Slushs-1/+1
2021-06-08Fix reverted changeGravatar Slushs-1/+1
2021-06-08Make helpdm command more conciseGravatar Slushs-27/+10
2021-06-08Cleanup indentation and participant dmGravatar Slushs-8/+6
2021-06-08Make toggle command one command instead of 2Gravatar Slushs-25/+27
2021-06-08Change mention formatGravatar Jake-1/+1
Co-authored-by: ToxicKidz <[email protected]>
2021-06-07Remove useless else and if statementGravatar Slushs-17/+12
2021-06-07Fix failed lintingGravatar Slushs-6/+8
2021-06-07Add docstring to commandsGravatar Slushs-5/+11
2021-06-07Remove embed testGravatar Slushs-14/+0
2021-06-07Add helpdm participating embedGravatar Slushs-1/+12
2021-06-07Add help dm featureGravatar GDWR-4/+35
2021-06-07Add caches required for help-dmGravatar GDWR-0/+9
2021-06-07nothing to see hereGravatar Slushs-0/+60
2021-06-06Renamed blocked_extension_str to blocked_extension.Gravatar Xithrius-3/+3
2021-06-06Added new formats to unittest docstrings.Gravatar Xithrius-2/+2
2021-06-06Change to unless-stopped restart policyGravatar Chris-1/+1
Since we use the same port for redis on all out projects, having this always restart causes conflicts for people starting up docker and wanting to use redis for anyother project.
2021-06-06Added subtests for `.txt`, `.json`, and `.csv` files.Gravatar Xithrius-16/+28
2021-06-06Added .txt file extension to antimalware test.Gravatar Xithrius-1/+4
2021-06-05Allowed text format warning to have multiple formats.Gravatar Xithrius-3/+8