aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2022-02-13Traceback tag: Emphasize reason for sharing traceback (#2072)Gravatar Steele Farnsworth-11/+9
2022-02-13Add unsubscribe alias to subscribe commandGravatar ChrisJL-1/+1
In quite a few places, such as #roles, we tell users to run the unsubscribe command to remove roles from them. However, this command no longer exists due to the rework of the subscribe command. Since the subscribe commands allows tyou to remove as well as add roles, I have added this as an alias.
2022-02-09Disable Reminders Cog (#2074)Gravatar Hassan Abouelela-492/+0
2022-02-07Don't validate reminder authorGravatar mbaruh-8/+7
Validation relies on the cache which might not be properly filled. This can cause reminders to be sent for users who are no longer in the server, which seems negligible.
2022-02-06Remove Coveralls badge from readmeGravatar Ben Soyka-1/+0
2022-02-06Remove Coveralls dev dependencyGravatar Ben Soyka-33/+2
2022-02-05Add reported message author's username and profile picture in embedGravatar minalike-0/+1
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]>