aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | | | | | PEP Improvisations: Fix `get_pep_zero_embed` docstringGravatar ks1292020-05-15-1/+1
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | PEP Improvisations: Move `get_pep_zero_embed` back to CogGravatar ks1292020-05-15-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved `get_pep_zero_embed` back to the cog, but made this `staticmethod`.
| * | | | | | | | | | | | | | | PEP Improvisations: Fix log text formattingGravatar ks1292020-05-15-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use repo own alignment of multiline text.
| * | | | | | | | | | | | | | | PEP Improvisations: Remove unnecessary typehintGravatar ks1292020-05-15-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed unnecessary type hint that I used for IDE and what I forget to remove.
| * | | | | | | | | | | | | | | PEP Improvisations: Fix importsGravatar ks1292020-05-14-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace `in_channel` with `in_whitelist`. This mistake was made to merge conflicts.
| * | | | | | | | | | | | | | | Merge branch 'master' into pep-improvisationsGravatar ks1292020-05-14-269/+800
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | PEP Improvisations: Moved `get_pep_zero_embed` to outside of CogGravatar ks1292020-05-14-14/+15
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | PEP Improvisations: Implemented stats to PEP commandGravatar ks1292020-05-14-7/+11
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | PEP Improvisations: Made PEP URLs refreshing task PEP number resolving easierGravatar ks1292020-05-13-2/+4
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | PEP Improvisations: Added logging to PEP URLs fetching taskGravatar ks1292020-05-13-0/+3
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | PEP Improvisations: Replaced `wait_until_guild_available` with ↵Gravatar ks1292020-05-13-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `wait_until_ready`
| * | | | | | | | | | | | | | | | PEP Improvisations: Added `staticmethod` decorator to `get_pep_zero_embed`Gravatar ks1292020-05-13-1/+2
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | PEP Improvisations: Moved PEP functions to one regionGravatar ks1292020-05-13-27/+29
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | 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.
| | | | | | | | | * | | | | | | | | Modified instructions for code block without langGravatar Amin Boukari2020-11-05-1/+1
| | | | | | | | | | | | | | | | | |
| | | | | | | | | * | | | | | | | | Changed ```python to ```pyGravatar Amin Boukari2020-11-05-1/+1
| |_|_|_|_|_|_|_|/ / / / / / / / / |/| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | 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
|/ / / / / / / / / / / / / / / /
| | | | | | | | | | | | | | * | fix(bot): statds pr review suggestionsGravatar Thomas Petersson2020-11-09-6/+14
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | fix(bot): better fallback logicGravatar Thomas Petersson2020-10-05-3/+3
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | fix(bot): refactor of connect_statsdGravatar Thomas Petersson2020-10-05-9/+5
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | fix(bot): redundant false checks on self.statsGravatar Thomas Petersson2020-10-05-11/+3
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | fix(bot): Not assign stats to NoneGravatar Thomas Petersson2020-10-05-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | self.stats is referred to as bot.stats in the project, which was overlooked. This should "disable" stats until it's successfully reconnected. The retry attempts will continue until it stops throwing or fails 10x
| | | | | | | | | | | | | | * | fix(statsd): Gracefully handle gaierroGravatar Thomas Petersson2020-10-05-4/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per issue #1185 the bot might go down if the statsd client fails to connect during instantiation. This can be caused by an outage on their part, or network issues. If this happens getaddrinfo will raise a gaierror. This PR catched the error, sets self.stats to None for the time being, and handles that elsewhere. In addition a fallback logic was added to attempt to reconnect, in the off-chance it's a temporary outage
| | | | | | | | | | | | | | | * Added docstring for the user activity function.Gravatar Xithrius2020-12-10-1/+6
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * Merge branch 'moderation/user-from-metricity' of ↵Gravatar Xithrius2020-12-10-12/+7
| | | | | | | | | | | | | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/bot into moderation/user-from-metricity
| | | | | | | | | | | | | | | | * Slightly reformatted activity block building.Gravatar Xithrius2020-12-10-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Hassan Abouelela <[email protected]>
| | | | | | | | | | | | | | | | * Compressed embed buildingGravatar Xithrius2020-12-10-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Hassan Abouelela <[email protected]>
| | | | | | | | | | | | | | | * | Compressed if into or statements.Gravatar Xithrius2020-12-10-9/+2
| | | | | | | | | | | | | | | |/
| | | | | | | | | | | | | | | * Changed logic of membership info creation.Gravatar Xithrius2020-11-11-14/+20
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * Moved activity data further up in embed.Gravatar Xithrius2020-11-06-14/+31
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * User command gets verification time and message count.Gravatar Xithrius2020-11-04-1/+21
| |_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | |
* | | | | | | | | | | | | | | 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
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \