aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2020-11-23Make Voice Channel Kick OptionalGravatar Hassan Abouelela-16/+34
Adds an optional parameter to the silence command to enable moderators to choose if they only update permissions, or kick members too. As an accompanying feature, the unsilence command now syncs voice channel permissions too. Signed-off-by: Hassan Abouelela <[email protected]>
2020-11-23Write AnyChannelConverter TestsGravatar Hassan Abouelela-0/+48
Signed-off-by: Hassan Abouelela <[email protected]>
2020-11-23Write AnyChannelConverter TestsGravatar Hassan Abouelela-0/+48
Signed-off-by: Hassan Abouelela <[email protected]>
2020-11-23Add VC Mute Failure NotificationGravatar Hassan Abouelela-21/+24
Notifies invocation channel that the silence command failed to silence the channel because it could not move members, but roles were updated. Signed-off-by: Hassan Abouelela <[email protected]>
2020-11-22Add VC Mute FunctionalityGravatar Hassan Abouelela-2/+64
Adds and calls a function to force a voice channel member to sync permissions. See #1160 for why this is necessary. Signed-off-by: Hassan Abouelela <[email protected]>
2020-11-22Refactor Silence Class ImportsGravatar Hassan Abouelela-10/+9
Refactors imports of silence class to be more inline with the original import structure. Signed-off-by: Hassan Abouelela <[email protected]>
2020-11-22Improves Channel Converter UsabilityGravatar Hassan Abouelela-6/+6
- Allows spaces in channel name - Allows channel name to have any capitalization - Fixed inherited class to general Converter class Signed-off-by: Hassan Abouelela <[email protected]>
2020-11-21Remove duplicate checkmarkGravatar Gustav Odinger-1/+1
- This removes a duplicate checkmark from the title of the embed - The checkmark was left from the previous title system and wasn't removed in the change
2020-11-21Update available help channel embed messageGravatar Gustav Odinger-1/+1
- This changes "we'll try to help you" to say "others will try to help you" - Clarifies that the rest of the community is going to help — not some dedicated help/staff team
2020-11-20Cover Unicode emojis catching as antispam rule with test casesGravatar ks129-4/+25
2020-11-20Catch Unicode emojis in emojis filtering ruleGravatar ks129-3/+5
Instead detecting only custom emojis, rule now catch too Unicode emojis. This converts Unicode emojis to :emoji: format and count them.
2020-11-20Install emoji package for emojis filteringGravatar ks129-19/+31
2020-11-19Checkout code so we can deployGravatar Sebastiaan Zeeff-0/+9
2020-11-19Fix the deploy stage of our build pipelineGravatar Sebastiaan Zeeff-172/+36
I've fixed the deploy stage of our build pipeline, as it got mixed in with the old workflow file due to a merge conflict. The deploy stage is currently split into a separate workflow; theoretically, this allows us to trigger a redeploy from GitHub, without having to build the container image again. Signed-off-by: Sebastiaan Zeeff <[email protected]>
2020-11-19Update snekbox address in config-default.ymlGravatar Joe Banks-1/+1
2020-11-19Add comment explaining buildx to workflowGravatar Sebastiaan Zeeff-0/+6
It's better to document these steps. Signed-off-by: Sebastiaan Zeeff <[email protected]>
2020-11-18Use GHCR image tags in PipfileGravatar Sebastiaan Zeeff-2/+2
Signed-off-by: Sebastiaan Zeeff <[email protected]>
2020-11-18Update badges in README to new workflowsGravatar Sebastiaan Zeeff-1/+7
Signed-off-by: Sebastiaan Zeeff <[email protected]>
2020-11-18Make sure we lint the actual pull requestGravatar Sebastiaan Zeeff-55/+64
Unfortunately, our old setup did not actually lint the PR, as it was running in the context of the target repository. To sidestep the issue of using `pull_request_target` altogether, I've now changed our run of flake8 to using it directly and having it output its errors in teh format of Workflow Commands. This means that our flake8 output will not be translated automatically in annotations for the run. In addition, I've split up the workflow into two separate files: one for linting & testing and one for building (& deploying). Signed-off-by: Sebastiaan Zeeff <[email protected]>
2020-11-18Pull snekbox image from GHCR in docker-composeGravatar Sebastiaan Zeeff-1/+1
We're in the process of migrating snekbox to the GitHub Container Repository, which will replace DockerHub. I've changed docker-compose to reflect that change. Signed-off-by: Sebastiaan Zeeff <[email protected]>
2020-11-17Update available message to sound betterGravatar Gustav Odinger-1/+1
- This replaces "one" with "any" - This is supposed to read better
2020-11-17Use author as the title of the embedGravatar Gustav Odinger-1/+1
- Allows the icon to be centered
2020-11-17Add green-checkmark to bot constantsGravatar Gustav Odinger-0/+4
2020-11-16Update help channel available messageGravatar Gustav Odinger-10/+19
- Adds a footer and title - Uses a green colored embed - Updates message to be easier to read and contain practical info for asking better questions
2020-11-16Add bright green color to constantsGravatar Gustav Odinger-0/+2
- The color is used in the new help channel embed
2020-11-16Adds VoiceChannel MuteGravatar Hassan Abouelela-47/+132
Adds an optional channel parameter to silence and unsilence commands, and adds ability to silence voice channels. TODO: New Tests Signed-off-by: Hassan Abouelela <[email protected]>
2020-11-15Update config options with new hostsGravatar Joe Banks-2/+2
2020-11-15Add deploy steps to GitHub ActionsGravatar Joe Banks-0/+14