aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2021-08-15Add team name to audit log reasonGravatar mbaruh-1/+5
Interestingly enough, the reason doesn't seem to be displayed for channel permission overrides.
2021-08-15Docstring correctionsGravatar mbaruh-4/+4
Co-authored-by: Bluenix <[email protected]>
2021-08-15Add default value to csv_fileGravatar Boris Muratov-1/+1
Co-authored-by: Bluenix <[email protected]>
2021-07-25Improved codejam end confirmationGravatar mbaruh-15/+59
The command now sends the details of all channels about to be deleted to the pasting service, and confirmation is done through a reaction by the invoker of the command within a limited time (10 seconds).
2021-07-08Fix end command docstringGravatar mbaruh-2/+2
2021-07-08Added command to remove from teamGravatar mbaruh-0/+12
2021-07-08More code jam functionalityGravatar Boris Muratov-1/+104
- An info embed with team the member is in. The team is decided by finding in which channel the member has overwrites. - Command to move a member from one team to another by changing the permissions of the appropriate team channels. - A command to end the code jam and delete all the team channels and categories.
2021-07-08Move jam channels creation to separate fileGravatar mbaruh-146/+150
The channel creations are static and clutter the cog class. We want to add more commands to the cog, so we move the static functions away to a separate file first.
2021-07-07Create events ext, prepare jams cog for file splitGravatar mbaruh-11/+19
2021-07-06Disable more filters in jam channels (#1675)Gravatar Boris Muratov-1/+8
* Disable everyone ping filter in jam channels * Disable anti-spam in jam channels * Disable antimalware in jam channels
2021-07-06Use getattr with a default, to protect against DM channelsGravatar Chris Lovering-1/+1
2021-07-06Disable filter in codejam team channels (#1670)Gravatar wookie184-0/+7
* Disable filter_invites in codejam team channels * Fix incorrect comment Co-authored-by: ChrisJL <[email protected]> Co-authored-by: ChrisJL <[email protected]>
2021-07-05chore: Change the `Code Jam Team Leader` role's nameGravatar ToxicKidz-1/+1
Co-authored-by: Boris Muratov <[email protected]>
2021-07-05chore: Remove the moderators role from the team channels' overwritesGravatar ToxicKidz-1/+0
2021-07-05chore: Update tests for the new codejam create commandGravatar ToxicKidz-68/+92
2021-07-05Adds Documentation For Running A Single Test (#1669)Gravatar Hassan Abouelela-0/+31
Adds a portion to the testing README explaining how and when to run an individual test file when working with tests. Additionally adds a table of contents as the document has become quite long. Signed-off-by: Hassan Abouelela <[email protected]>
2021-07-05chore: Add the codejam create commandGravatar ToxicKidz-71/+111
This command takes a CSV file or a link to one. This CSV file has three rows: 'Team Name', 'Team Member Discord ID', and 'Team Leader'. The Team Name will be the name of the team's channel, the Member ID tells which user belongs to this team, and leam leader, which is either Y/N, tells if this user is the team leader. It will create text channels for each team and make a team leaders chat channel as well. It will ping the Events Lead role with updates for this command.
2021-06-30Remove the pixels token detectorGravatar Chris Lovering-108/+0
2021-06-29Ensure mods cannot be watchedGravatar Chris Lovering-0/+5
This meant admins could also be watched, meaning their messages in ancy channel would be relayed to the BB channel.
2021-06-27upgrade pytest-xdistGravatar Thomas Grainger-6/+6
2021-06-27move cov config to tomlGravatar Thomas Grainger-5/+5
2021-06-27Add alias for voice_verify commandGravatar wookie184-1/+1
Added voice-verify alias as the channel and tag are hyphenated so it may be confusing as it is currently.
2021-06-27Docker-compose: upgrade to postgres 13Gravatar Matteo Bertucci-1/+1
See https://git.pydis.com/site/pull/545
2021-06-22Update bot/exts/utils/bot.py Gravatar Steele Farnsworth-1/+1
Change single quotes to double quotes and un-escape the internal single quote. Co-authored-by: Leon Sandøy <[email protected]>
2021-06-22Prevent one from using the `!echo` command for a channel in which one can't ↵Gravatar swfarnsworth-0/+2
speak.
2021-06-22Reorder everyone ping filter so it fires after watch_regexGravatar Bast-14/+14
This means messages with both @everyone and a watched term ping the mod team instead of hiding beneath the everyone ping silent alert