aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2022-02-03👌 Remove the need to pass in channel via argumentsGravatar GDWR-15/+13
2022-02-03♻️Move notifications into `_message.py` with predicateGravatar GDWR-30/+55
2022-02-03💡 Comment usage of arbitrarily old dateGravatar GDWR-0/+1
2022-02-03👌 Remove redundant parenthesisGravatar GDWR-1/+1
2022-02-01🚨 Linting fixesGravatar GDWR-4/+8
2022-02-01✨ Notify running low on channelsGravatar GDWR-30/+29
2022-01-31💡 Update docstringsGravatar GDWR-1/+16
2022-01-31📝 Update `notify_none_remaining` docstringGravatar GDWR-5/+4
2022-01-31♻️Rename `notify` -> `notify_none_remaining`Gravatar GDWR-2/+2
2022-01-31🔧 Add `notify_running_low` config valuesGravatar GDWR-3/+3
2022-01-31🔧 Add `notify_running_low` config valuesGravatar GDWR-2/+4
2022-01-31🔧 Add `notify_running_low` config valuesGravatar GDWR-10/+7
2022-01-31✏️`LATEST_MESSSAGE` -> `LATEST_MESSAGE`Gravatar GDWR-2/+2
2022-01-27Use `voice_gate_blocked` field from API for voice_gateGravatar Chris Lovering-2/+2
This new field is true when the user has any voice exception, which means the user is blocked from receiving the role.
2022-01-27Add embed message mentioning help channel claimantGravatar minalike-2/+10
Update docstring
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-25Add voice_ban stub commandsGravatar Chris Lovering-0/+29
These stub commands are useful for moderators during the change over from voice_ban to voice_mute, to remind moderators that the command has been changed now.
2022-01-25Refactor voice_ban function definitions to voice_muteGravatar Chris Lovering-60/+60
This changes all functions that reference voice_ban to voice_mute instead, which comes with breaking front-end changes. These front end changes are desirable, so that moderators get used to use voice_mute now, rather than voice_ban, in preparation for when we roll out real voice_bans.
2022-01-25Rename voice_ban type to voice_muteGravatar Chris Lovering-17/+17
This commit changes all of the back-end so that it is in line with the new site API (see this PR https://github.com/python-discord/site/pull/608). This comes with no changes to commands, or functions definitions.
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-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-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]>