aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Merge pull request #1231 from shtlrs/whitelist-threads-with-their-parentsGravatar Amrou Bellalouna2023-03-10-3/+7
|\ | | | | Whitelist a thread when its parent is whitelisted
| * replace a thread with its parent if presentGravatar shtlrs2023-03-10-7/+6
| |
| * whitelist a thread along with its parentGravatar shtlrs2023-03-10-0/+5
|/
* Merge pull request #1228 from ↵Gravatar wookie1842023-03-04-1/+1
|\ | | | | | | | | python-discord/dependabot/github_actions/docker/build-push-action-4 Bump docker/build-push-action from 3 to 4
| * Bump docker/build-push-action from 3 to 4Gravatar dependabot[bot]2023-03-04-1/+1
|/ | | | | | | | | | | | | | Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v3...v4) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
* Merge pull request #1226 from python-discord/Python-3.11Gravatar ChrisJL2023-03-04-249/+305
|\ | | | | Python 3.11
| * Add dependabot CI configGravatar Chris Lovering2023-03-04-0/+6
| |
| * Update CI to reusable actionsGravatar Chris Lovering2023-03-04-76/+76
| |
| * Remove aioredis as it is no longer usedGravatar Chris Lovering2023-03-04-165/+216
| |
| * Bump pydis_core and pip-licensesGravatar Chris Lovering2023-03-04-2/+2
| |
| * Bump Python version to 3.11Gravatar Chris Lovering2023-03-04-6/+5
|/
* fixed embed interaction and randomly choosing a kata (#1218)Gravatar Henri2023-03-03-5/+2
| | | Co-authored-by: Xithrius <[email protected]>
* Bump pre-commit from 3.1.0 to 3.1.1 (#1221)Gravatar dependabot[bot]2023-03-02-5/+5
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump sentry-sdk from 1.15.0 to 1.16.0 (#1220)Gravatar dependabot[bot]2023-03-03-5/+6
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump python-dotenv from 0.21.1 to 1.0.0 (#1216)Gravatar dependabot[bot]2023-03-03-6/+6
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump pydis-core to 9.5.0 (#1222)Gravatar Amrou Bellalouna2023-02-28-9/+9
|
* Add default unicode emoji for trashcan (#1217)Gravatar Mohammad Ibrahim2023-02-26-1/+6
| | | | | | | | | | | | | | | | | * Add default unicode emoji for trashcan * Fix keeping the emoji for pydis and default unicode emoji for forks * Remove extra vairable in `Emoji` Co-authored-by: wookie184 <[email protected]> * Remove f-string without placeholder The flake8 life. --------- Co-authored-by: wookie184 <[email protected]>
* Bump pre-commit from 3.0.4 to 3.1.0 (#1215)Gravatar dependabot[bot]2023-02-25-5/+5
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Merge pull request #1211 from python-discord/deprecate-bookmark-text-commandGravatar ChrisJL2023-02-20-153/+53
|\ | | | | Deprecate bookmark text command
| * Create the bookmark URL view at runtime instead of having a subclassGravatar Chris Lovering2023-02-19-9/+4
| |
| * Only successfully reply to bookmark if bookmark was sentGravatar Chris Lovering2023-02-19-18/+20
| |
| * Move action_bookmark to inside the ContextMenu form classGravatar Chris Lovering2023-02-19-27/+24
| |
| * Update docstrings and error messages in Bookmark commandGravatar Chris Lovering2023-02-19-29/+18
| |
| * Remove text-based bookmark commandGravatar Chris Lovering2023-02-19-89/+11
| |
| * Make bookmark a guild only commandGravatar Chris Lovering2023-02-19-7/+2
|/
* Merge pull request #1212 from onerandomusername/patch-2Gravatar ChrisJL2023-02-19-1/+1
|\ | | | | fix typo in user-facing bookmark message
| * fix typo in user shown messageGravatar arl2023-02-19-1/+1
|/
* Merge pull request #1209 from ↵Gravatar ChrisJL2023-02-19-5/+5
|\ | | | | | | | | python-discord/dependabot/pip/flake8-bugbear-23.2.13 Bump flake8-bugbear from 23.1.20 to 23.2.13
| * Bump flake8-bugbear from 23.1.20 to 23.2.13Gravatar dependabot[bot]2023-02-19-5/+5
|/ | | | | | | | | | | | | | Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear) from 23.1.20 to 23.2.13. - [Release notes](https://github.com/PyCQA/flake8-bugbear/releases) - [Commits](https://github.com/PyCQA/flake8-bugbear/compare/23.1.20...23.2.13) --- updated-dependencies: - dependency-name: flake8-bugbear dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
* Merge pull request #1176 from shtlrs/1089-make-bookmark-a-context-menu-commandGravatar ChrisJL2023-02-19-15/+85
|\ | | | | Make bookmark a context menu command
| * disallow usage of the context menu command in DMsGravatar Amrou Bellalouna2023-02-19-0/+5
| |
| * remove the call to action to check DMS for the bmGravatar Amrou Bellalouna2023-02-19-1/+0
| |
| * add formatting to the ephemeral embedGravatar Amrou Bellalouna2023-02-19-2/+2
| |
| * build a new bookmark embed for the context menu commandGravatar Amrou Bellalouna2023-02-19-3/+14
| | | | | | | | This will be sent along the ephemeral message
| * mark label as optionalGravatar Amrou Bellalouna2023-02-19-1/+1
| |
| * move class var before ctorGravatar Amrou Bellalouna2023-02-19-9/+9
| |
| * return embed directly from build_bookmark_embedGravatar Amrou Bellalouna2023-02-19-2/+1
| |
| * add a bookmark selection formGravatar Amrou Bellalouna2023-02-19-6/+39
| | | | | | | | | | | | This prompts the user for a custom title for their input. This has been added to not lose the functionality of adding a custom title for a bookmark for those who need it.
| * fix `AttributeError` on interaction.userGravatar Amrou Bellalouna2023-02-19-1/+1
| | | | | | | | | | This bus was introduced upon refactoring the perms check. It tries to access an author property from within a user, which doesn't exist.
| * fix `AttributeError` on interaction.channelGravatar Amrou Bellalouna2023-02-19-1/+1
| | | | | | | | This bus was introduced upon refactoring the perms check, and it calls channel from within a channel.
| * use existing `build_error_embed` func to construct unauthorized messageGravatar Amrou Bellalouna2023-02-19-24/+11
| | | | | | | | | | | | This removes the need of the `user_is_permitted_to_bookmark` func, and keeps the code cleaner & more coherent It always relis on using interaction.response to reply instead of context, which might result in a failed interaction
| * keep style consistency when forming embedsGravatar Amrou Bellalouna2023-02-19-5/+2
| |
| * make bookmark_context_menu_callback protectedGravatar Amrou Bellalouna2023-02-19-2/+2
| |
| * rename run_permission_check to user_is_permitted_to_bookmarkGravatar Amrou Bellalouna2023-02-19-3/+6
| |
| * appease linterGravatar Amrou Bellalouna2023-02-19-5/+7
| |
| * add bm context menuGravatar Amrou Bellalouna2023-02-19-0/+17
| |
| * delegate building bm embedGravatar Amrou Bellalouna2023-02-19-7/+11
| |
| * move running permission checks in a static methodGravatar Amrou Bellalouna2023-02-19-10/+19
| |
| * sync commands upon cog loadGravatar Amrou Bellalouna2023-02-19-0/+4
|/
* Merge pull request #1210 from shtlrs/bump-isort-in-precommitGravatar ChrisJL2023-02-17-1/+1
|\ | | | | bump isort to 5.12.0 in precommit config