aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* | | | | | | | | | | | Bundle workflows into a "main" CI flow (#2425)Gravatar Amrou Bellalouna2023-03-03-84/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bundle build & deploy into a single workflow * delete separate build & deploy wokrflows * trigger status embed on the new bundled "Build & Deploy" workflow * Call linting & build-deployment workflows from main * keep one empty line in workflow files * use v4 of k8s deploy * yeet kubectl version * use v3 of k8s-set-context * setup kubectl config using the setup-kubectl v3 action * use v2 of the checkout action * add dependabot config * add new line for dependabot.yml * update path of the sentry_release workflow * update path of the lint-test workflow * specify push branch * update the sentry_release workflow path, again * update sentry_release's trigger to workflow_call * update lint-test's trigger to workflow_call * remove extra line at the end * unify usage of quotes * update concurrency groups of reusable local workflows * appease our dear linter with a blank line * always run status embed * Revert "always run status embed" This reverts commit 2f69fd77b212337ff45bf7815783030bc6099452. * remove colons after workflow_call * remove empty line at the end * Revert "remove empty line at the end" This reverts commit 223bef4159c76f1968878fe312b5fbc16544549b. * echo event name in status embed * try running status embed on bot ci/cd wf * run ci/cd on push to main * reinstate the Lint & Test trigger for status embed * rename main wf name to "CI" This also triggers status embed on that name * add group-workflows to the list of branches * remove test step * trigger status embed on ci only * trigger main on main branch only * remove concurrency groups in lint-test & sentry-release workflows
* | | | | | | | | | | | Add CI to the list of trigger workflow runs (#2426)Gravatar Amrou Bellalouna2023-03-03-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: ChrisJL <[email protected]>
* | | | | | | | | | | | Merge pull request #2305 from python-discord/2301-fix-voting-conditionsGravatar Boris Muratov2023-03-03-11/+32
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Store time of last vote in redis to prevent vote triggering early
| * \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into 2301-fix-voting-conditionsGravatar Boris Muratov2023-03-03-1386/+1628
| |\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #2380 from python-discord/trim-help-command-error-titleGravatar Boris Muratov2023-03-03-3/+8
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / |/| | | | | | | | | | | | Trim query in command not found error to avoid embed limits
| * | | | | | | | | | | | Merge branch 'main' into trim-help-command-error-titleGravatar Boris Muratov2023-03-03-1417/+1749
| |\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #2421 from shtlrs/bump-pydis-core-to-9-5-0Gravatar wookie1842023-02-28-1108/+1108
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump pydis-core to 9.5.0
| * | | | | | | | | | | | | add the `flags` key to the member_data dictionaryGravatar shtlrs2023-02-28-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The value 2 represents the `COMPLETED_ONBOARDING` flag, found here https://discord.com/developers/docs/resources/guild#guild-member-object-guild-member-flags
| * | | | | | | | | | | | | bump pydis-core to 9.5.0Gravatar shtlrs2023-02-28-1107/+1107
|/ / / / / / / / / / / / /
* | | | | | | | | | | | | Include embed titles in all tags (#2419)Gravatar Mohammad Ibrahim2023-02-27-124/+327
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add title and remove heading + also changed any mentioning of `!tags` command * Fixed yaml scan errors + using tabs instead of spaces + enclosed title in `comparison.md` with quotes * Implement ChrisLovering reviews + changed all "Name1 vs. Name2" to "Name1 vs. name2" + changed "python discord" to "Python Discord" in titles + fix typos + reverting hunk for `dotenv.md` + changed all title cases to sentence cases * fix grammar + changed "embed" to "embeds" * remove other ot channels mentioned except ot2 * Fix mistakenly removing a blank line
* | | | | | | | | | | | | Merge pull request #2403 from Ibrahim2750mi/migration/tagGravatar wookie1842023-02-27-142/+167
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | Migrated `!tags` command to slash command `/tag`
| * | | | | | | | | | | | Merge branch 'main' into migration/tagGravatar wookie1842023-02-27-9/+18
| |\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #2417 from python-discord/swfarnsworth-code-command-pasteGravatar ChrisJL2023-02-26-0/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add line to `!code` about the pastebin
| * \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into swfarnsworth-code-command-pasteGravatar Steele Farnsworth2023-02-26-9/+16
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge pull request #2415 from python-discord/timeit-backticksGravatar ChrisJL2023-02-26-9/+16
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / / / / |/| | | | | | | | | | | | | Fix timeit commands with backticks after command name
| * | | | | | | | | | | | | Fix timeit commands with backticks after command nameGravatar wookie1842023-02-25-9/+16
|/ / / / / / / / / / / / /
| * / / / / / / / / / / / Add line about the pastebin.Gravatar Steele2023-02-26-0/+2
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simply adds "For long code samples, you can use our pastebin" as a new final line.
| * | | | | | | | | | | Implement shtlrs reviewsGravatar Ibrahim2023-02-27-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + removed using of discord.User + update docstring for `get_command_ctx` + renamed user variables to member
| * | | | | | | | | | | Implement reviewsGravatar Ibrahim2023-02-26-64/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + used both `discord.User` and `discord.Member` in typehinting as `InteractionResponse.user` returns `discord.User` object + removed `ErrorHandler()._can_run` + edited `try_get_tag` to use `bot.can_run` + removed `/tag list` + change `/tag get <name>` to `/tag <name>` + remove redundant `GUILD_ID` in `tags.py` + using `discord.abc.Messageable` because `ctx.channel` returns that instead of `Channel` Object
| * | | | | | | | | | | Upadte docstring for `ErrorHandler()._can_run`Gravatar Ibrahim2023-02-23-1/+2
| | | | | | | | | | | |
| * | | | | | | | | | | Implement all reviewsGravatar Ibrahim2023-02-23-72/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Remove commented code + Remove unecessarily syncting the bot + Handle direct tag commads + 3.10 type hinting in concerned functions + Add `MockInteractionMessage` + Fix tests for `try_get_tag`
| * | | | | | | | | | | Merge branch 'main' into migration/tagGravatar Ibrahim2750mi2023-02-18-60/+64
| |\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Merge branch 'main' into migration/tagGravatar Ibrahim2750mi2023-02-14-63/+59
| |\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Update tests for `/tag` as of migration to slash commandsGravatar Ibrahim2750mi2023-02-14-30/+56
| | | | | | | | | | | | |
| * | | | | | | | | | | | Migrated `!tags` command to slash command `/tag`Gravatar Ibrahim2750mi2023-02-14-104/+76
| | | | | | | | | | | | |
| | | * | | | | | | | | | Trim query in command not found error to avoid embed limitsGravatar wookie1842023-01-14-3/+8
| | | | | | | | | | | | |
| | | | * | | | | | | | | Merge branch 'main' into 2301-fix-voting-conditionsGravatar wookie1842023-02-25-75/+223
| | | | |\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / |/| | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #2409 from shtlrs/bump-isort-in-precommitGravatar ChrisJL2023-02-17-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | bump isort to 5.12.0 in precommit config
| * \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into bump-isort-in-precommitGravatar ChrisJL2023-02-17-59/+63
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge pull request #2405 from ↵Gravatar ChrisJL2023-02-17-59/+63
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/revert-2400-reusable-status-embed-workflow Revert "Reusable status embed workflow"
| * | | | | | | | | | | | | Revert "Merge PR #2400: Reusable status embed workflow"Gravatar Amrou Bellalouna2023-02-14-59/+63
|/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 2f8efdc646492707f6a9647fcbc4d71678181b90.
| * / / / / / / / / / / / bump isort to 5.12.0 in precommit configGravatar Amrou2023-02-17-1/+1
|/ / / / / / / / / / / /
* / / / / / / / / / / / Merge PR #2400: Reusable status embed workflowGravatar Amrou Bellalouna2023-02-14-63/+59
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make status embed reusable * invoke status embed from lint-test * trigger status embed from within deploy workflow * trigger status embed from build wf * update extension of referenced reusable workflow * add github.sha to construct the concurrency group * always call the status_embed from build & deploy
* | | | | | | | | | | Merge pull request #2374 from ↵Gravatar wookie1842023-02-13-1/+2
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/swfarnsworth-modmail-account-mention Make the infraction message mention @ModMail
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into swfarnsworth-modmail-account-mentionGravatar wookie1842023-02-13-0/+3
| |\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #2401 from python-discord/legacy_roleGravatar wookie1842023-02-13-0/+3
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / / |/| | | | | | | | | | | Add legacy help access to self-assignable roles
| * | | | | | | | | | | Add legacy help access to self-assignable rolesGravatar mbaruh2023-02-13-0/+3
|/ / / / / / / / / / /
| * | | | | | | | | | Merge branch 'main' into swfarnsworth-modmail-account-mentionGravatar Steele Farnsworth2023-02-11-45/+164
| |\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | |
* | | | | | | | | | | Merge pull request #2396 from shtlrs/bump-bot-core-to-9-4-1Gravatar ChrisJL2023-02-09-10/+10
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Bump pydis core to 9.4.1
| * | | | | | | | | | | bump pydis core to 9.4.1Gravatar shtlrs2023-02-09-10/+10
|/ / / / / / / / / / /
| * | | | | | | | | | Update bot/exts/moderation/infraction/_utils.py Gravatar Steele Farnsworth2023-02-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Put the bot mention in parentheses. This is intended to make the message clearer, in the unlikely circumstance that someone does not have the ModMail bot account in their user cache. Co-authored-by: Vivek Ashokkumar <[email protected]>
| * | | | | | | | | | Make the infraction message mention @ModMailGravatar Steele Farnsworth2023-01-01-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the footer for non-ban infraction messages would say to DM the ModMail bot. This commit makes "ModMail" a clickable mention of the bot.
| | | * | | | | | | | Merge branch 'main' into 2301-fix-voting-conditionsGravatar wookie1842022-11-30-2021/+1115
| | | |\ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ Merge branch 'main' into 2301-fix-voting-conditionsGravatar wookie1842022-11-05-305/+408
| | | |\ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | Fix testsGravatar wookie1842022-10-22-3/+13
| | | | | | | | | | | | |
| | | * | | | | | | | | | Store time of last vote in redis to prevent vote triggering earlyGravatar wookie1842022-10-22-9/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously if a vote was sent and ended within a day a new one could be sent immediately
| | | | | | | | | * | | | Change WordingGravatar Brody Critchlow2023-03-28-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: dawn <[email protected]>
| | | | | | | | | * | | | Update required wordingGravatar Brody Critchlow2023-03-25-1/+1
| | | | | | | | | | | | |
| | | | | | | | | * | | | Comply to PEP8Gravatar Brody Critchlow2023-03-15-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mohammad Ibrahim <[email protected]>
| | | | | | | | | * | | | Comply to #2419Gravatar Brody Critchlow2023-03-15-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mohammad Ibrahim <[email protected]>