aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2021-06-20Use the correct constant name for deleteing after a delayGravatar Chris-1/+1
2021-06-19Only fetch message counts if in mod channelGravatar wookie184-4/+1
Changes to only fetch message counts for the user command if in a mod channel, as they are not displayed otherwise, and so an unnecessary api call.
2021-06-19Change seen emoji to reviewed emojiGravatar wookie184-11/+11
2021-06-19Filters: up character limit to 4,200Gravatar Matteo Bertucci-1/+1
Since Discord Nitro now unlock a 4,000 character limit, some of our code broke, including our filters which limit you to only post up to 3,000 character in 10s. This limit has been upped to 4,200. I added 200 characters so if a full length message is sent with another small comment it wouldn't trigger the filter. I can think of some past instances where that would have happened.
2021-06-18Add mods channel to config explicitlyGravatar Boris Muratov-0/+2
2021-06-16Update bot/exts/help_channels/_cog.pyGravatar Fares Ahmed-2/+1
Co-authored-by: Xithrius <[email protected]>
2021-06-16Use RedirectOutput.delete_delayGravatar FaresAhmedb-3/+4
2021-06-16Fix wrong exceptionGravatar Fares Ahmed-1/+1
Co-authored-by: ToxicKidz <[email protected]>
2021-06-16Update helpdm error messageGravatar Fares Ahmed-4/+2
Co-authored-by: Xithrius <[email protected]>
2021-06-15Fix helpdm couldn't DM the user (#1640)Gravatar Fares Ahmed-1/+19
2021-06-14Modified the proposed message after discussion in yesterday's staff meeting.Gravatar swfarnsworth-4/+5
2021-06-13Added `python_community` and `partners` role havers to `!poll`.Gravatar Xithrius-1/+2
2021-06-12Proposed alternative "available help channel" message.Gravatar swfarnsworth-7/+5
These changes are intended to help people ask better questions from the onset of their help session.
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-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-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