aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | | | | | Change wording of failure message and re-add trailing commaGravatar Joe Banks2020-11-01-1/+1
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Remove full stopGravatar Joe Banks2020-11-01-1/+1
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Add activity blocks threshold to voice gateGravatar Joe Banks2020-10-31-1/+4
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Add new activity block constantGravatar Joe Banks2020-10-31-0/+2
|/ / / / / / / / / / / / / / /
| | | | | | | | | | | * / / / Corrected linting errors.Gravatar Daniel Brown2020-11-05-3/+2
| | | | | | | | | | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Brown <[email protected]>
| | | | | | | | | | | * | | - Added ping deletion time to config file.Gravatar Daniel Brown2020-11-05-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added ping message constant to the top of the voice_gate.py file. - Corrected logic error in checking if a user is cached and in a voice channel. - Reduced default message deletion time to 1 minute from 5 minutes. - Adjusted on_message event to ignore the verification ping message. Signed-off-by: Daniel Brown <[email protected]>
| | | | | | | | | | | * | | Bug fixes, including improper cache calls, typos and moreGravatar Daniel Brown2020-11-03-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Corrected spelling on _async_init call - Changed the None value stored in the cache if the user is already verified to False, as RedisCache doesn't support None. - Changed RedisCache type hint to reflect change made in storage style - Suppress NotFound errors when the ping_message can't be retrieved. - Corrected lack of await on send call More fixes to come. Signed-off-by: Daniel Brown <[email protected]>
| | | | | | | | | | | * | | Added ping message, message id storage and message deletionGravatar Daniel Brown2020-11-02-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Users who have never joined the voice channels before (and are currently unverified) will receive a ping in the #voice_verification channel - If user is unverified, the message id is stored in the cache along with the user id. - Added a message deletion to the voiceverify command, which removes the ping message if one exists. Also sets stored message ID to None so that it doesn't attempt to delete messages that aren't there - Set timed message deletion for 5 minutes.
| | | | | | | | | | | * | | Added RedisCache and eventGravatar Daniel Brown2020-11-02-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added RedisCache instance as a class attribute of the VoiceGate cog. - Added voice_gate channel as an attribute to use it later in the cog. - Added cache type hint. Signed-off-by: Daniel Brown <[email protected]>
| | | | | | | | | | | * | | Added method definition and needed imports.Gravatar Daniel Brown2020-10-30-1/+5
| |_|_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Brown <[email protected]>
* | | | | | | | | | | | | Fix incorrect argument for _send_log when filtering evalsGravatar MarkKoz2020-10-27-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes BOT-AN
* | | | | | | | | | | | | Merge pull request #1257 from python-discord/code_messageGravatar Mark2020-10-27-13/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shorter `!code` message
| * | | | | | | | | | | | | "see here" -> "check this out"Gravatar Steele Farnsworth2020-10-27-1/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | link to a page about finding the backtick key on different layouts.Gravatar Steele Farnsworth2020-10-26-1/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Made the message significantly shorterGravatar Steele2020-10-26-13/+3
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | PR #1248: Set async-rediscache logging level to warningGravatar kwzrd2020-10-23-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Remove unnecessary getLogger callGravatar Numerlor2020-10-21-1/+0
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Set logging level for async-rediscache to warningGravatar Numerlor2020-10-19-0/+1
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Merge pull request #1212 from mbaruh/masterGravatar Mark2020-10-22-17/+31
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added interleaving text in code blocks option
| * | | | | | | | | | | | | | | clarify prepare_input docGravatar Boris Muratov2020-10-08-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]>
| * | | | | | | | | | | | | | | adjusted prepare_input docs and unittestsGravatar mbaruh2020-10-08-1/+14
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | prepare_input uses one regex lessGravatar mbaruh2020-10-07-35/+17
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Improved style and fixed comment.Gravatar mbaruh2020-10-04-2/+2
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Added interleaving text in code blocks optionGravatar mbaruh2020-10-04-6/+25
| | |_|_|_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the message contains both plaintext and code blocks, the text will be ignored. If several code blocks are present, they are concatenated.
* | | | | | | | | | | | | | | Merge pull request #1250 from python-discord/mbaruh-user-commandGravatar Mark2020-10-22-16/+24
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / / / |/| | | | | | | | | | | | | | Add handling of off-server users to user command
| * | | | | | | | | | | | | | Use FetchedMember for user annotationGravatar mbaruh2020-10-22-6/+7
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Add handling of off-server users to user commandGravatar mbaruh2020-10-22-16/+23
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | PR #1253: Allow eval in voice channelsGravatar kwzrd2020-10-22-2/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into Hemlock/Add_eval_to_voice_chatsGravatar Daniel Brown2020-10-22-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Update Python Discord badge to 100k members.Gravatar Dennis Pham2020-10-22-1/+1
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Swapped individual channel ids for category id.Gravatar Daniel Brown2020-10-22-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Brown <[email protected]>
| * | | | | | | | | | | | | | | Update config-default.yml Gravatar Daniel Brown2020-10-22-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changing a hyphen to an underscore in the config Co-authored-by: kwzrd <[email protected]>
| * | | | | | | | | | | | | | | Added voice_chat to eval listGravatar Daniel Brown2020-10-22-1/+9
|/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Brown <[email protected]>
* | | | | | | | | | | | | | | Merge pull request #1113 - cache silencesGravatar Mark2020-10-21-265/+689
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cache silences to enable rescheduling and revoking reaction permissions
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge master and fix LICENSE-THIRD-PARTY conflictGravatar MarkKoz2020-10-21-402/+1255
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Relay python-dev to mailing lists channelGravatar Joe Banks2020-10-21-0/+1
| |/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Merge pull request #1243 from python-discord/mbaruh-mod-channelsGravatar Mark2020-10-19-24/+34
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Centralized handling of mod channel check
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into mbaruh-mod-channelsGravatar Boris Muratov2020-10-18-2/+4
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|/ / / / / / | | |/| | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Improved logging in is_mod_channelGravatar mbaruh2020-10-18-12/+13
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Added moderation categories section to configGravatar mbaruh2020-10-18-5/+14
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Fixed style and lintingGravatar mbaruh2020-10-17-2/+2
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Amended to work with current testsGravatar mbaruh2020-10-17-2/+4
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Centralize moderation channel checksGravatar mbaruh2020-10-17-20/+18
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Merge pull request #1247 from python-discord/voice-gate-delay-grantGravatar Joe Banks2020-10-19-5/+13
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / / / / / |/| | | | | | | | | | | | | | | Ensure verified users can see verified message.
| * | | | | | | | | | | | | | | Instruct to reconnect to voice channel if connected on verification.Gravatar scragly2020-10-19-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a user is already connected to a voice channel at the time of getting verified through voice gate, they won't have their permissions actually apply to their current session. This change adds information on verifying so they know they must reconnect to have the changes apply.
| * | | | | | | | | | | | | | | Address a grammar error in failed reasons.Gravatar scragly2020-10-19-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An overlooked grammatical error occurred in exactly 1 (one) of the possible failure reasons when being verified for the voice gate system. This was unacceptable to the masses, so a swift correction has been added to address it, adding 1 (one) additional word to the listed reason.
| * | | | | | | | | | | | | | | Ensure verified users can see verified message.Gravatar scragly2020-10-19-4/+8
|/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When verified users get their role, they cannot see the voice-verification channel anymore, so I've added a 3 second delay for granting the role in order to ensure there's some time for them to see the response. I've also moved the DM message to only be sent if the DM message succeeds, and to not mention them in-channel to avoid distracting them from the DM notification unnecessarily, as I'm sure they'll see a near-instant response to their command usage in that channel.
* | | | | | | | | | | | | | | Merge pull request #1246 from python-discord/voice-gate-dm-failedGravatar Joe Banks2020-10-18-2/+10
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Voice gate dm failed
| * | | | | | | | | | | | | | | Disconnect users on voiceban.Gravatar scragly2020-10-19-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On voiceban, a users effective permissions will change to not allow speaking, however this permission isn't effective until rejoining. To ensure a voiceban is immediately in effect, the user will be disconnected from any voice channels.
| * | | | | | | | | | | | | | | Send response in verification if DM fails.Gravatar scragly2020-10-19-2/+8
|/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At the moment, the bot will attempt to DM the verification result for a member which is reliant on privacy settings allowing member DMs. This commit should add a suitable fallback of sending the response in the voice-verification channel instead.