aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | | | | | | | | | | | | Refractors For Style GuidelinesGravatar Hassan Abouelela2020-11-24-13/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refractors method signatures and calls to follow python-discord style guide. Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | | | | | | | | | | | Finalizes Silence & Unsilence UnitTestsGravatar Hassan Abouelela2020-11-23-17/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | | | | | | | | | | | Adds Silence & Unsilence UnitTestsGravatar Hassan Abouelela2020-11-23-1/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | | | | | | | | | | | Removes Redundant Exception HandlingGravatar Hassan Abouelela2020-11-23-38/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | | | | | | | | | | | General Silence Class TestsGravatar Hassan Abouelela2020-11-23-17/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds tests for helper functions in the silence cog. Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | | | | | | | | | | | Fixes Voice Silence ReportingGravatar Hassan Abouelela2020-11-23-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the channel reported as muted to voice channel chat channels when silencing voice channels. Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | | | | | | | | | | | Fix Failing FunctionsGravatar Hassan Abouelela2020-11-23-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | | | | | | | | | | | Make Voice Channel Kick OptionalGravatar Hassan Abouelela2020-11-23-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]>
| | * | | | | | | | | | | | | Merge branch 'voicechannel-mute' of https://github.com/HassanAbouelela/bot ↵Gravatar Hassan Abouelela2020-11-23-0/+0
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into voicechannel-mute
| | | * | | | | | | | | | | | | Write AnyChannelConverter TestsGravatar Hassan Abouelela2020-11-23-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | | | | | | | | | | | | Write AnyChannelConverter TestsGravatar Hassan Abouelela2020-11-23-0/+48
| | |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | | | | | | | | | | | Add VC Mute Failure NotificationGravatar Hassan Abouelela2020-11-23-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]>
| | * | | | | | | | | | | | | Add VC Mute FunctionalityGravatar Hassan Abouelela2020-11-22-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]>
| | * | | | | | | | | | | | | Merge branch 'master' into voicechannel-muteGravatar Hassan Abouelela2020-11-22-430/+589
| | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | Refactor Silence Class ImportsGravatar Hassan Abouelela2020-11-22-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactors imports of silence class to be more inline with the original import structure. Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | | | | | | | | | | | | Improves Channel Converter UsabilityGravatar Hassan Abouelela2020-11-22-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]>
| | * | | | | | | | | | | | | | Adds VoiceChannel MuteGravatar Hassan Abouelela2020-11-16-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]>
| | * | | | | | | | | | | | | | Merge branch 'master' into voicechannel-muteGravatar Hassan Abouelela2020-11-16-281/+351
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | Implements Channel ConverterGravatar Hassan Abouelela2020-11-15-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a converter that can decipher more forms of channel mentions, to lay foundation for voice channel muting. Signed-off-by: Hassan Abouelela <[email protected]>
| | | | | | | | | | | | | | * | | Properly Handle Fuzzy Matching HelpGravatar Hassan Abouelela2021-07-09-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a bug where calling help with an invalid command would crash out during fuzzy matching. Signed-off-by: Hassan Abouelela <[email protected]>
| | | | | | | | | | | | | | * | | Prevents Blocking In Ping CommandGravatar Hassan Abouelela2021-07-07-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes the network fetch asynchronous to prevent blocking the program. Signed-off-by: Hassan Abouelela <[email protected]>
| | | | | | | | | | | | | | * | | Fixes N818 ComplianceGravatar Hassan Abouelela2021-07-07-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renames a couple exceptions to include the error suffix, as enforced by N818. Signed-off-by: Hassan Abouelela <[email protected]>
| | | | | | | | | | | | | | * | | Drops AIOPing DependencyGravatar Hassan Abouelela2021-07-07-33/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drops aioping as a dependency for the ping command since it's licenced under GPL2. Substitutes the site ping with a health-check and status to compensate. Signed-off-by: Hassan Abouelela <[email protected]>
| | | | | | | | | | | | | | * | | Replaces FuzzywuzzyGravatar Hassan Abouelela2021-07-07-46/+102
| | |_|_|_|_|_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaces Fuzzywuzzy with RapidFuzz, as fuzzywuzzy is licensed under a GPL2 license. Signed-off-by: Hassan Abouelela <[email protected]>
| | | | | | | | | | | | | | * | Enabled charinfo for discord_py channel.Gravatar NIRDERIi2021-07-20-1/+1
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * Tests: remove stale patch of time_sinceGravatar Matteo Bertucci2021-07-02-1/+0
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * Make use of Discord timestampsGravatar Matteo Bertucci2021-07-02-129/+126
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * Bump embed limit to 4096 charactersGravatar Matteo Bertucci2021-07-02-23/+25
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Add `Leads` role(s) to the server information embedGravatar D0rs4n2021-07-08-3/+7
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Create `join_role_stats` function in helpersGravatar D0rs4n2021-07-08-1/+11
|/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `join_role_stats` function that joins the relevant information (number of members) of the given roles into one group under a pre-specified `name`
* | | | | | | | | | | | | | | Disable more filters in jam channels (#1675)Gravatar Boris Muratov2021-07-06-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Disable everyone ping filter in jam channels * Disable anti-spam in jam channels * Disable antimalware in jam channels
* | | | | | | | | | | | | | | Merge pull request #1673 from python-discord/fix-category-check-in-dm-channelsGravatar ChrisJL2021-07-06-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use getattr with a default, to protect against DM channels
| * | | | | | | | | | | | | | | Use getattr with a default, to protect against DM channelsGravatar Chris Lovering2021-07-06-1/+1
|/ / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | Disable filter in codejam team channels (#1670)Gravatar wookie1842021-07-06-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Disable filter_invites in codejam team channels * Fix incorrect comment Co-authored-by: ChrisJL <[email protected]> Co-authored-by: ChrisJL <[email protected]>
* | | | | | | | | | | | | | | Merge pull request #1668 from python-discord/feat/code-jam-channels-automationGravatar ChrisJL2021-07-06-139/+202
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chore: Add the codejam create command
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into feat/code-jam-channels-automationGravatar ToxicKidz2021-07-05-339/+710
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Adds Documentation For Running A Single Test (#1669)Gravatar Hassan Abouelela2021-07-05-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]>
* | | | | | | | | | | | | | | Merge pull request #1661 from python-discord/remove-pixels-token-detectionGravatar Matteo Bertucci2021-06-30-108/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the pixels token detector
| * | | | | | | | | | | | | | | Remove the pixels token detectorGravatar Chris Lovering2021-06-30-108/+0
|/ / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | Merge pull request #1659 from python-discord/move-cov-config-to-tomlGravatar Joe Banks2021-06-29-11/+11
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into move-cov-config-to-tomlGravatar Thomas Grainger2021-06-29-0/+5
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Merge pull request #1660 from python-discord/don't-allow-mods-to-be-watchedGravatar ChrisJL2021-06-29-0/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure mods cannot be watched
| * | | | | | | | | | | | | | | | Ensure mods cannot be watchedGravatar Chris Lovering2021-06-29-0/+5
|/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This meant admins could also be watched, meaning their messages in ancy channel would be relayed to the BB channel.
| * | | | | | | | | | | | | | | upgrade pytest-xdistGravatar Thomas Grainger2021-06-27-6/+6
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | move cov config to tomlGravatar Thomas Grainger2021-06-27-5/+5
|/ / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | Merge pull request #1626 from python-discord/xdistGravatar Joe Banks2021-06-27-23/+196
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into xdistGravatar Hassan Abouelela2021-06-27-118/+276
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # poetry.lock
* | | | | | | | | | | | | | | | Merge pull request #1658 from python-discord/wookie184-voiceverify-aliasGravatar Matteo Bertucci2021-06-27-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add alias for voice_verify command
| * | | | | | | | | | | | | | | | Add alias for voice_verify commandGravatar wookie1842021-06-27-1/+1
|/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added voice-verify alias as the channel and tag are hyphenated so it may be confusing as it is currently.
* | | | | | | | | | | | | | | | Merge pull request #1657 from python-discord/docker-compose/postgres-13Gravatar Joe Banks2021-06-27-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \