| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | | | | | | * | Removed extra else's and added constant | 2020-11-06 | -28/+29 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Removed unnecessary else statements - Added NO_MSG constant to replace the `False` that was being used previously in the redis cache. Signed-off-by: Daniel Brown <[email protected]> | ||||
| | | | | | | * | Requested fixes - Various restructures of code. | 2020-11-06 | -29/+37 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Changed `VOICE_PING` constant to not contain the format brackets. - Added more detailed description of what the `redis_cache` will hold. - Changed message content verification to use the whole newly formatted `VOICE_PING` constant instead of a slice of it. - Added remaining parameters for the `on_voice_state_update` event for clarity. - Reorganized the logic of the `on_voice_state_update` for better clarity and better logging purposes. - Removed `_async_init` in favor of checking if the guild is ready inside the `on_voice_state_update` event. Verification channel is now loaded each time when needed, reducing risk of the object becoming stale or erroring out due to the not being ready before an event was triggered. Signed-off-by: Daniel Brown <[email protected]> | ||||
| | | | | | | * | Merge remote-tracking branch 'origin/Hemlock/voice-gate-ping' into ↵ | 2020-11-05 | -108/+175 | ||
| | | | | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | Hemlock/voice-gate-ping | ||||
| | | | | | | | * | Merge branch 'master' into Hemlock/voice-gate-ping | 2020-11-05 | -108/+175 | ||
| | | | | | | | |\ | |_|_|_|_|_|_|/ |/| | | | | | | | |||||
| * | | | | | | | | Merge pull request #901 from ks129/pep-improvisations | 2020-11-05 | -104/+168 | ||
| |\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | PEP command improvements | ||||
| | * | | | | | | | Fix argument offset | 2020-10-18 | -1/+1 | ||
| | | | | | | | | | |||||
| | * | | | | | | | Refactor PEP error embed sending | 2020-10-18 | -23/+24 | ||
| | | | | | | | | | |||||
| | * | | | | | | | Merge remote-tracking branch 'up/master' into pep-improvisations | 2020-10-18 | -642/+1078 | ||
| | |\ \ \ \ \ \ \ | |||||
| | * \ \ \ \ \ \ \ | Merge branch 'master' into pep-improvisations | 2020-10-04 | -943/+553 | ||
| | |\ \ \ \ \ \ \ \ | |||||
| | * | | | | | | | | | Move AsyncCache max_size argument to __init__ from decorator | 2020-10-04 | -3/+4 | ||
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Make AsyncCache key tuple instead string | 2020-10-04 | -1/+1 | ||
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Move PEP URLs to class constants | 2020-10-04 | -7/+6 | ||
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Rename async cache instances | 2020-10-04 | -7/+5 | ||
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Fix linting | 2020-09-26 | -3/+2 | ||
| | | | | | | | | | | | |||||
| | * | | | | | | | | | PEP: Split get_pep_embed to smaller parts | 2020-09-26 | -22/+34 | ||
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Async Cache: Create class-based async cache | 2020-09-26 | -24/+37 | ||
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Merge remote-tracking branch 'upstream/master' into pep-improvisations | 2020-09-26 | -4294/+8799 | ||
| | |\ \ \ \ \ \ \ \ \ | |||||
| | * | | | | | | | | | | PEP: Move PEP error message sending to another function | 2020-06-22 | -8/+9 | ||
| | | | | | | | | | | | | |||||
| | * | | | | | | | | | | PEP: Filter out too big PEP numbers | 2020-06-22 | -1/+5 | ||
| | | | | | | | | | | | | |||||
| | * | | | | | | | | | | Async Cache: Make cache handle different caches better | 2020-06-22 | -7/+9 | ||
| | | | | | | | | | | | | |||||
| | * | | | | | | | | | | PEP: Define PEP region for grouping functions | 2020-06-22 | -1/+2 | ||
| | | | | | | | | | | | | |||||
| | * | | | | | | | | | | Merge branch 'master' into pep-improvisations | 2020-05-18 | -503/+340 | ||
| | |\ \ \ \ \ \ \ \ \ \ | |||||
| | * | | | | | | | | | | | PEP: Removed `while` loop from refresh checking on `get_pep_embed` | 2020-05-18 | -11/+9 | ||
| | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | PEP Improvisations: Remove PEP URLs refreshing task + replace it with new system | 2020-05-17 | -12/+18 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now PEP command request PEP listing when PEP is not found and last refresh was more time ago than 30 minutes instead task. | ||||
| | * | | | | | | | | | | | PEP Improvisations: Fix cache if statement | 2020-05-17 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `not` in check is key exist in cache. | ||||
| | * | | | | | | | | | | | PEP Improvisations: Move error embed to variables instead creating on `ctx.send` | 2020-05-17 | -6/+5 | ||
| | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | PEP Improvisations: Remove response from logging to avoid newline | 2020-05-17 | -2/+1 | ||
| | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | PEP Improvisations: Fix formatting of blocks | 2020-05-17 | -0/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added newline before logging after indention block. Co-authored-by: Mark <[email protected]> | ||||
| | * | | | | | | | | | | | PEP Improvisations: Simplify cache item check on `async_cache` decorator | 2020-05-17 | -2/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]> | ||||
| | * | | | | | | | | | | | PEP Improvisations: Move errors sending from PEP command to `get_pep_embed` | 2020-05-15 | -9/+14 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this, all error embeds was returned on `get_pep_embed` but now this send this itself and return only correct embed to make checking easier in command. | ||||
| | * | | | | | | | | | | | PEP Improvisations: Fix `get_pep_embed` docstring | 2020-05-15 | -1/+1 | ||
| | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | PEP Improvisations: Fix `get_pep_zero_embed` docstring | 2020-05-15 | -1/+1 | ||
| | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | PEP Improvisations: Move `get_pep_zero_embed` back to Cog | 2020-05-15 | -15/+15 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved `get_pep_zero_embed` back to the cog, but made this `staticmethod`. | ||||
| | * | | | | | | | | | | | PEP Improvisations: Fix log text formatting | 2020-05-15 | -2/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use repo own alignment of multiline text. | ||||
| | * | | | | | | | | | | | PEP Improvisations: Remove unnecessary typehint | 2020-05-15 | -1/+0 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed unnecessary type hint that I used for IDE and what I forget to remove. | ||||
| | * | | | | | | | | | | | PEP Improvisations: Fix imports | 2020-05-14 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace `in_channel` with `in_whitelist`. This mistake was made to merge conflicts. | ||||
| | * | | | | | | | | | | | Merge branch 'master' into pep-improvisations | 2020-05-14 | -269/+800 | ||
| | |\ \ \ \ \ \ \ \ \ \ \ | |||||
| | * | | | | | | | | | | | | PEP Improvisations: Moved `get_pep_zero_embed` to outside of Cog | 2020-05-14 | -14/+15 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | PEP Improvisations: Implemented stats to PEP command | 2020-05-14 | -7/+11 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | PEP Improvisations: Made PEP URLs refreshing task PEP number resolving easier | 2020-05-13 | -2/+4 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | PEP Improvisations: Added logging to PEP URLs fetching task | 2020-05-13 | -0/+3 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | PEP Improvisations: Replaced `wait_until_guild_available` with ↵ | 2020-05-13 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `wait_until_ready` | ||||
| | * | | | | | | | | | | | | PEP Improvisations: Added `staticmethod` decorator to `get_pep_zero_embed` | 2020-05-13 | -1/+2 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | PEP Improvisations: Moved PEP functions to one region | 2020-05-13 | -27/+29 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Replaced 24 hours with 3 hours in `refresh_peps_urls` | 2020-04-25 | -2/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Made modification to include new PEPs faster. | ||||
| | * | | | | | | | | | | | | Refactor `pep` command, implement caching | 2020-04-25 | -55/+46 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved PEP embed getting to function, that use caching. | ||||
| | * | | | | | | | | | | | | Created new task in `Utils` cog: `refresh_peps_urls` | 2020-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` | 2020-04-25 | -30/+34 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Merge branch 'master' into pep-improvisations | 2020-04-21 | -6/+44 | ||
| | |\ \ \ \ \ \ \ \ \ \ \ \ | |||||
| | * | | | | | | | | | | | | | Improve `!pep` command | 2020-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. | ||||