aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Help channels: remove how_to_get_help from excluded channelsGravatar MarkKoz2020-11-26-3/+1
| | | | | | The channel as moved out of this category. Delete the constant too since it isn't used anywhere else. Keep the excluded channels a tuple to conveniently support excluding multiple channels in the future.
* Help channels: merge 2 imports into 1Gravatar MarkKoz2020-11-20-3/+2
| | | | | The import was an outlier compared to how the other modules were imported. It's nicer to keep the imports consistent.
* Help channels: move all caches to a separate moduleGravatar MarkKoz2020-11-20-50/+36
| | | | | Some need to be shared among modules, so it became redundant to redefine them in each module.
* Help channels: wait for cog to be ready in deleted msg listenerGravatar MarkKoz2020-11-20-0/+4
|
* Help channels: replace ready event with awaiting the init taskGravatar MarkKoz2020-11-20-6/+4
| | | | | | | The event is redundant since awaiting the task accomplishes the same thing. If the task is already done, the await will finish immediately. If the task gets cancelled, the error is raised but discord.py suppress it in both commands and event listeners.
* Help channels: remove obsolete functionGravatar MarkKoz2020-11-20-5/+0
|
* Help channels: move cooldown/role functions to cooldown moduleGravatar MarkKoz2020-11-20-84/+104
|
* Help channels: move time functions to channel moduleGravatar MarkKoz2020-11-20-31/+39
|
* Help channels: move message functions to message moduleGravatar MarkKoz2020-11-20-178/+191
|
* Help channels: move pin functions to a separate moduleGravatar MarkKoz2020-11-20-47/+59
|
* Help channels: rename modules to use singular tenseGravatar MarkKoz2020-11-20-11/+11
| | | | | Plural names imply the modules contain homogenous content. For example, "channels" implies the module contains multiple kinds of channels.
* Help channels: move validation code to __init__.pyGravatar MarkKoz2020-11-20-27/+29
|
* Help channels: move name and channel funcs to separate modulesGravatar MarkKoz2020-11-20-79/+109
|
* Help channels: remove get_clean_channel_nameGravatar MarkKoz2020-11-20-16/+1
| | | | | Emoji are no longer used in channel names due to harsher rate limits for renaming channels. Therefore, the function is obsolete.
* Help channels: move to a subpackageGravatar MarkKoz2020-11-20-10/+17
|
* Merge pull request #1287 from python-discord/help-channel-msgGravatar Boris Muratov2020-11-21-10/+25
|\ | | | | Updated available help channel embed
| * Merge branch 'master' into help-channel-msgGravatar Boris Muratov2020-11-21-371/+514
| |\ | |/ |/|
* | Merge pull request #1293 from ks129/emojis-filterGravatar Daniel Brown2020-11-20-26/+61
|\ \ | | | | | | Include Unicode emojis to emojis filter
| * \ Merge branch 'master' into emojis-filterGravatar Daniel Brown2020-11-20-345/+453
| |\ \ | |/ / |/| |
* | | Checkout code so we can deployGravatar Sebastiaan Zeeff2020-11-19-0/+9
| | |
* | | Merge pull request #1291 from python-discord/sebastiaan/backend/fix-deploy-stageGravatar Sebastiaan Zeeff2020-11-19-172/+36
|\ \ \ | | | | | | | | Fix the deploy stage of our build pipeline
| * | | Fix the deploy stage of our build pipelineGravatar Sebastiaan Zeeff2020-11-19-172/+36
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | I've fixed the deploy stage of our build pipeline, as it got mixed in with the old workflow file due to a merge conflict. The deploy stage is currently split into a separate workflow; theoretically, this allows us to trigger a redeploy from GitHub, without having to build the container image again. Signed-off-by: Sebastiaan Zeeff <[email protected]>
* | | Merge pull request #1286 from python-discord/kubernetes-deployGravatar Joe Banks2020-11-19-3/+195
|\ \ \
| * \ \ Merge branch 'master' into kubernetes-deployGravatar Leon Sandøy2020-11-19-286/+486
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #1290 from ↵Gravatar Sebastiaan Zeeff2020-11-19-59/+80
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | python-discord/sebastiaan/backend/improve-actions-workflow Ensure flake8 actually lints pull requests
| * | | | Add comment explaining buildx to workflowGravatar Sebastiaan Zeeff2020-11-19-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's better to document these steps. Signed-off-by: Sebastiaan Zeeff <[email protected]>
| * | | | Use GHCR image tags in PipfileGravatar Sebastiaan Zeeff2020-11-18-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Sebastiaan Zeeff <[email protected]>
| * | | | Update badges in README to new workflowsGravatar Sebastiaan Zeeff2020-11-18-1/+7
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Sebastiaan Zeeff <[email protected]>
| * | | | Make sure we lint the actual pull requestGravatar Sebastiaan Zeeff2020-11-18-55/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately, our old setup did not actually lint the PR, as it was running in the context of the target repository. To sidestep the issue of using `pull_request_target` altogether, I've now changed our run of flake8 to using it directly and having it output its errors in teh format of Workflow Commands. This means that our flake8 output will not be translated automatically in annotations for the run. In addition, I've split up the workflow into two separate files: one for linting & testing and one for building (& deploying). Signed-off-by: Sebastiaan Zeeff <[email protected]>
| * | | | Pull snekbox image from GHCR in docker-composeGravatar Sebastiaan Zeeff2020-11-18-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're in the process of migrating snekbox to the GitHub Container Repository, which will replace DockerHub. I've changed docker-compose to reflect that change. Signed-off-by: Sebastiaan Zeeff <[email protected]>
* | | | Merge pull request #1245 - global bot instanceGravatar Mark2020-11-16-282/+304
|\ \ \ \
| * \ \ \ Merge master and fix conflictsGravatar MarkKoz2020-11-16-747/+1885
| |\ \ \ \ | |/ / / / |/| | | |
| * | | | Set up Sentry when running rather than upon importGravatar MarkKoz2020-10-17-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | It was causing an error if a DSN was not configured. It also feels wrong and confusing to attempt to make a connection just upon import.
| * | | | Move bot creation code from __main__.py to bot.pyGravatar MarkKoz2020-10-17-53/+58
| | | | |
| * | | | Move logging set up to a separate moduleGravatar MarkKoz2020-10-17-83/+93
| | | | |
| * | | | Syncers: make functions staticGravatar MarkKoz2020-10-17-65/+49
| | | | | | | | | | | | | | | | | | | | | | | | | The classes no longer hold any state since they can use the global bot instance.
| * | | | Use global bot instance in syncersGravatar MarkKoz2020-10-16-45/+62
| | | | | | | | | | | | | | | | | | | | | | | | | They're pretty close to being fully static classes, but it's difficult to make the name attribute a static abstract property.
| * | | | Use global bot instance in InterpreterGravatar MarkKoz2020-10-16-4/+4
| | | | |
| * | | | Use global bot instance in try_get_channelGravatar MarkKoz2020-10-16-10/+8
| | | | |
| * | | | Use global bot instance in wait_for_deletionGravatar MarkKoz2020-10-16-10/+8
| | | | |
| * | | | Use global bot instance in send_to_paste_serviceGravatar MarkKoz2020-10-16-27/+28
| | | | |
| * | | | Add global bot instanceGravatar MarkKoz2020-10-16-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Is **very** convenient when writing utility functions that rely on the bot's state, but aren't in cogs and therefore lack the typical way to access the instance. No more passing around of the instance as an arg!
| | * | | Update snekbox address in config-default.ymlGravatar Joe Banks2020-11-19-1/+1
| | | | |
| | * | | Update config options with new hostsGravatar Joe Banks2020-11-15-2/+2
| | | | |
| | * | | Add deploy steps to GitHub ActionsGravatar Joe Banks2020-11-15-0/+14
| | | | |
| | * | | Add Kubernetes deployment manifestGravatar Joe Banks2020-11-15-0/+21
| |/ / / |/| | |
| | * | Cover Unicode emojis catching as antispam rule with test casesGravatar ks1292020-11-20-4/+25
| | | |
| | * | Catch Unicode emojis in emojis filtering ruleGravatar ks1292020-11-20-3/+5
| | | | | | | | | | | | | | | | | | | | Instead detecting only custom emojis, rule now catch too Unicode emojis. This converts Unicode emojis to :emoji: format and count them.
| | * | Install emoji package for emojis filteringGravatar ks1292020-11-20-19/+31
| |/ / |/| |
| | * Remove duplicate checkmarkGravatar Gustav Odinger2020-11-21-1/+1
| | | | | | | | | | | | | | | | | | - This removes a duplicate checkmark from the title of the embed - The checkmark was left from the previous title system and wasn't removed in the change