aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | | | | * | | | | | | | | | | | | | | | | Make bot shutdown remove all other non-extension cogs againGravatar ks1292020-10-09-1/+1
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | Use asyncio.gather instead manual looping and awaitingGravatar ks1292020-07-31-3/+2
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | Simplify bot shutdown cogs removingGravatar ks1292020-07-31-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unloading extensions already remove all cogs that is inside it and this is enough good for this case, because bot still call dpy's internal function later to remove cogs not related with extensions (when exist).
| | | | | | * | | | | | | | | | | | | | | | | Improve extension + cogs removing comment on `close`Gravatar ks1292020-07-23-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]>
| | | | | | * | | | | | | | | | | | | | | | | Add copyright about `_remove_extension` + make function privateGravatar ks1292020-07-23-2/+2
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | Silence: Add mod alert sending to `closing_tasks` to avoid errorGravatar ks1292020-06-21-1/+1
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | Reddit: Don't define revoke task as variable but instantly appendGravatar ks1292020-06-21-2/+1
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | Reddit: Remove unnecessary revoke task name changingGravatar ks1292020-06-21-1/+0
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | | Implement bot closing tasks waiting + breaking `close` to multiple partsGravatar ks1292020-06-20-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Made to resolve problem with Reddit cog that revoking access token raise exception because session is closed. To solve this, I made `Bot.closing_tasks` that bot wait before closing. Moved all extensions and cogs removing to `remove_extension` what is called before closing everything else because need to call `cog_unload`.
| | | | | | * | | | | | | | | | | | | | | | | Infractions: Fix cases when user leave from guild before assigning rolesGravatar ks1292020-06-20-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When user left from guild before bot can add Muted role, then catch this error and log.
| | | | | | * | | | | | | | | | | | | | | | | Watchchannel: Moved message consuming task cancelling exceptionGravatar ks1292020-06-20-27/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved exception logging when cog is being unloaded and messages is still not consumed from `cog_unload` to `consume_messages` itself in try-except block to avoid case when requesting result too early (before cancel finished).
* | | | | | | | | | | | | | | | | | | | | | | Merge branch 'master' into voicechannel-muteGravatar Hassan Abouelela2020-12-22-445/+644
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela<[email protected]> # Conflicts # bot/exts/moderation/silence.py # bot/exts/moderation/test_silence.py
| * | | | | | | | | | | | | | | | | | | | | | Merge pull request #1332 from python-discord/ks123/sentryGravatar Joe Banks2020-12-21-9/+41
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | | Merge branch 'master' into ks123/sentryGravatar Dennis Pham2020-12-20-125/+40
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | Add the clear alias to the clean commandGravatar Matteo Bertucci2020-12-20-1/+1
| | |_|/ / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | Merge pull request #1333 from ↵Gravatar ks1292020-12-20-124/+39
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/bug/backend/bot-j8/api-session-closed Hopefully fix the API session being closed when populating the filter cache on startup
| | * | | | | | | | | | | | | | | | | | | | Remove obsolete test casesGravatar MarkKoz2020-12-19-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Forgot to remove these when removing `loop_is_running` in a previous commit.
| | * | | | | | | | | | | | | | | | | | | | APIClient: create the session directly in __init__Gravatar MarkKoz2020-12-19-21/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The client is already instantiated in a coroutine and aiohttp won't complain. Therefore, scheduling a task to create the session is redundant.
| | * | | | | | | | | | | | | | | | | | | | Bot: cease support of Bot.clear()Gravatar MarkKoz2020-12-19-51/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Supporting the function means supporting re-use of a closed Bot. However, this functionality is not relied upon by anything nor will it ever be in the foreseeable future. Support of it required scheduling any needed startup coroutines as tasks. This made augmenting the Bot clunky and didn't make it easy to wait for startup coroutines to complete before logging in.
| | * | | | | | | | | | | | | | | | | | | | APIClient: remove obsolete functionGravatar MarkKoz2020-12-19-14/+0
| | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | APIClient: simplify session creationGravatar MarkKoz2020-12-19-39/+10
| |/ / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Making the class-reusable is not worth the added complexity.
| | * | | | | | | | | | | | | | | | | | | Fix wrong way for getting Git SHAGravatar ks1292020-12-20-1/+1
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Remove aiohttp integrationGravatar ks1292020-12-20-2/+0
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Use bot prefix instead pydis-bot for Sentry release workflowGravatar ks1292020-12-20-1/+1
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Attach release on Sentry SDK initializationGravatar ks1292020-12-20-1/+2
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Add constant for Git SHAGravatar ks1292020-12-20-0/+3
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Inject Git SHA in container build workflowGravatar ks1292020-12-20-0/+2
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Consume Git SHA build arg and add to it to environmentGravatar ks1292020-12-20-1/+5
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Create workflow for creating Sentry releaseGravatar ks1292020-12-19-0/+24
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Pump Sentry SDK version from 0.14 to 0.19Gravatar ks1292020-12-19-5/+5
| |/ / / / / / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | | | | | Fix silence testsGravatar Joe Banks2020-12-19-3/+3
| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Remove unused importGravatar Joe Banks2020-12-19-1/+1
| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | kaizen: remove role check from bot account commandsGravatar Joe Banks2020-12-19-2/+0
| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Fix silence command to use guild default roleGravatar Joe Banks2020-12-19-16/+7
| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Fix invalid config name in voice gateGravatar Joe Banks2020-12-19-1/+1
| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Downgrade `markdownify` from 0.6.0 to 0.5.3.Gravatar Den42002020-12-18-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0.6.0 brought breaking changes to markdownify, so we'll downgrade.
| * | | | | | | | | | | | | | | | | | | Fix pending testsGravatar Joe Banks2020-12-19-4/+4
| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Remove unused dateutil importsGravatar Joe Banks2020-12-19-2/+0
| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Remove usage of joined_at metricity API itemGravatar Joe Banks2020-12-19-24/+9
| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Merge pull request #1331 from python-discord/native-gating-two-user-boogalooGravatar Joe Banks2020-12-19-231/+289
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use member update event for verification DMs
| | * | | | | | | | | | | | | | | | | | | relock lockfileGravatar Joe Banks2020-12-19-1/+5
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Update discord.py name in PipfileGravatar Joe Banks2020-12-19-1/+1
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Remove member_gating_cache RedisDictGravatar Joe Banks2020-12-19-3/+0
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Fix linting errorsGravatar Joe Banks2020-12-19-1/+0
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Lock PipfileGravatar Joe Banks2020-12-19-201/+269
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Update verification.py to use on_member_update, closes #1330Gravatar Joe Banks2020-12-19-27/+12
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Bump discord.py to a unreleased refGravatar Joe Banks2020-12-19-1/+1
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Install git in Docker containerGravatar Joe Banks2020-12-19-0/+5
| |/ / / / / / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | | | | | Fix minor verification bugsGravatar Joe Banks2020-12-19-2/+2
| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Merge pull request #1329 from python-discord/native-gatingGravatar Joe Banks2020-12-19-12/+15
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | Better handle native gated users