aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Reduce long timeout to 28d instead of denying itGravatar mbaruh2023-03-07-3/+13
|
* Migrate from role-based mutes to native timeoutsGravatar mbaruh2023-03-05-56/+85
| | | | | | - Makes use of the native timeout instead of adding the Muted role. - Renames all references to the "mute" infraction to "timeout", except in command aliases for ease of transition. - Maintains support for the old functionality (pardoning users with the muted role, applying timeout to users who rejoin and are not yet timed out because they originally had the role). This can be removed (the relevant parts are marked with TODOs) after there are no longer users with the old mute.
* Merge pull request #2428 from python-discord/dependabot/pip/redis-4.4.2Gravatar wookie1842023-03-03-9/+8
|\ | | | | Bump redis from 4.3.5 to 4.4.2
| * Bump redis from 4.3.5 to 4.4.2Gravatar dependabot[bot]2023-03-03-9/+8
|/ | | | | | | | | | | | | | | Bumps [redis](https://github.com/redis/redis-py) from 4.3.5 to 4.4.2. - [Release notes](https://github.com/redis/redis-py/releases) - [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES) - [Commits](https://github.com/redis/redis-py/compare/v4.3.5...v4.4.2) --- updated-dependencies: - dependency-name: redis dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
* Merge pull request #2427 from python-discord/dependabot/pip/sentry-sdk-1.16.0Gravatar wookie1842023-03-03-5/+9
|\ | | | | Bump sentry-sdk from 1.11.1 to 1.16.0
| * Merge branch 'main' into dependabot/pip/sentry-sdk-1.16.0Gravatar wookie1842023-03-03-1/+8
| |\ | |/ |/|
* | Merge pull request #2422 from Ibrahim2750mi/snekbox/handling-input-error-messageGravatar wookie1842023-03-03-1/+8
|\ \ | | | | | | Add warning message when using `input` with `eval` command
| * \ Merge branch 'main' into snekbox/handling-input-error-messageGravatar wookie1842023-03-03-154/+194
| |\ \ | |/ / |/| |
| * | Edit comment to match wookie's reviewGravatar Ibrahim2023-03-03-2/+3
| | |
| * | Wookie's reviewGravatar Mohammad Ibrahim2023-03-03-1/+1
| | | | | | | | | | | | | | | | | | | | | + Double quotes for consistency + Using results["stdout"] instead of output so the warning is still displayed if the error doesn't fit in the message. + Using endswith so we don't need to hardcode the constant. Co-authored-by: wookie184 <[email protected]>
| * | Add warning message when using `input`Gravatar Ibrahim2023-03-01-1/+7
| | |
| | * Bump sentry-sdk from 1.11.1 to 1.16.0Gravatar dependabot[bot]2023-03-03-5/+9
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.11.1 to 1.16.0. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/1.11.1...1.16.0) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
* | Merge pull request #2430 from python-discord/dependabot/pip/pydis-core-9.5.1Gravatar Amrou Bellalouna2023-03-03-9/+9
|\ \ | | | | | | Bump pydis-core from 9.5.0 to 9.5.1
| * \ Merge branch 'main' into dependabot/pip/pydis-core-9.5.1Gravatar Amrou Bellalouna2023-03-03-9/+7
| |\ \ | |/ / |/| |
* | | Bump action versions in CI (#2433)Gravatar ChrisJL2023-03-03-9/+7
| | |
| * | Bump pydis-core from 9.5.0 to 9.5.1Gravatar dependabot[bot]2023-03-03-9/+9
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [pydis-core](https://github.com/python-discord/bot-core) from 9.5.0 to 9.5.1. - [Release notes](https://github.com/python-discord/bot-core/releases) - [Changelog](https://github.com/python-discord/bot-core/blob/main/docs/changelog.rst) - [Commits](https://github.com/python-discord/bot-core/compare/v9.5.0...v9.5.1) --- updated-dependencies: - dependency-name: pydis-core dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
* | 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