aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | | | | | Fixes Typo in DocGravatar Hassan Abouelela2020-11-24-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]>
| * | | | | | | | | | | | | | | Removes AnyChannel ConverterGravatar Hassan Abouelela2020-11-24-91/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes the AnyChannel converter in favor of a combination of Text and Voice converters. Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | | | | | | | | | | | | Fixes Voice Channel AccessGravatar Hassan Abouelela2020-11-24-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A typo caused the function to return the text channel for `code/help 1`, when it is meant to access `code/help 2`. Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | | | | | | | | | | | | 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`
| | | | | | | | | | | | | | | * Merge branch 'mbaruh/jam-management' of ↵Gravatar mbaruh2021-08-15-1/+1
| | | | | | | | | | | | | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/bot into mbaruh/jam-management
| | | | | | | | | | | | | | | | * Add default value to csv_fileGravatar Boris Muratov2021-08-15-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | | | | | | | | | | | | | | * | Add `cj end` timeout message, improve styleGravatar mbaruh2021-08-15-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | | | | | | | | | | | | | | * | Add team name to audit log reasonGravatar mbaruh2021-08-15-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Interestingly enough, the reason doesn't seem to be displayed for channel permission overrides.
| | | | | | | | | | | | | | | * | Docstring correctionsGravatar mbaruh2021-08-15-4/+4
| | | | | | | | | | | | | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | | | | | | | | | | | | | | * Improved codejam end confirmationGravatar mbaruh2021-07-25-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).
| | | | | | | | | | | | | | | * Fix end command docstringGravatar mbaruh2021-07-08-2/+2
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * Added command to remove from teamGravatar mbaruh2021-07-08-0/+12
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * More code jam functionalityGravatar Boris Muratov2021-07-08-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.
| | | | | | | | | | | | | | | * Move jam channels creation to separate fileGravatar mbaruh2021-07-08-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.
| | | | | | | | | | | | | | | * Create events ext, prepare jams cog for file splitGravatar mbaruh2021-07-07-11/+19
| |_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | |
* | | | | | | | | | | | | | | 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
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | |