aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | | | | Replaced 24 hours with 3 hours in `refresh_peps_urls`Gravatar ks1292020-04-25-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Made modification to include new PEPs faster.
| * | | | | | | | | | | | | | Refactor `pep` command, implement cachingGravatar ks1292020-04-25-55/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved PEP embed getting to function, that use caching.
| * | | | | | | | | | | | | | Created new task in `Utils` cog: `refresh_peps_urls`Gravatar ks1292020-04-25-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Task refresh listing of PEPs + URLs in every 24 hours
| * | | | | | | | | | | | | | Moved `async_cache` decorator from `Doc` cog file to `utils/cache.py`Gravatar ks1292020-04-25-30/+34
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Merge branch 'master' into pep-improvisationsGravatar ks1292020-04-21-6/+44
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Improve `!pep` commandGravatar ks1292020-04-21-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Made `pep_number` type hint to `int` to avoid unnecessary manual converting. - Added `ctx.trigger_typing` calling to show user that bot is responding.
* | | | | | | | | | | | | | | | Merge pull request #1265 from python-discord/voicegate/activity-blocksGravatar Dennis Pham2020-11-01-2/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / / / / / / |/| | | | | | | | | | | | | | | Voice Gate: User activity blocks
| * | | | | | | | | | | | | | | Actually fix the issue @kwzrd pointed outGravatar Joe Banks2020-11-01-3/+3
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Correct 404 error message in voice gate commandGravatar Joe Banks2020-11-01-2/+2
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Correct activity block config name in voice gate extensionGravatar Joe Banks2020-11-01-1/+1
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Indent inline comment by two spaces in config-default.ymlGravatar Joe Banks2020-11-01-1/+1
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | 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
| | | | | | | | | | | | | | | |