aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* 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
| * Merge branch 'main' into bump-isort-in-precommitGravatar ChrisJL2023-02-17-59/+59
| |\ | |/ |/|
* | Merge pull request #1208 from shtlrs/bump-pydis-core-to-9-4-1Gravatar ChrisJL2023-02-09-59/+59
|\ \ | | | | | | Bump pydis core to 9.4.1
| * | Bump pydis core to 9.4.1Gravatar Amrou Bellalouna2023-02-09-59/+59
|/ / | | | | | | Author: Amrou Bellalouna <[email protected]>
| * bump isort to 5.12.0 in precommit configGravatar Amrou2023-02-17-1/+1
|/
* Bump beautifulsoup4 from 4.11.1 to 4.11.2 (#1201)Gravatar dependabot[bot]2023-02-09-5/+5
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Xithrius <[email protected]>
* Bump pre-commit from 3.0.2 to 3.0.4 (#1205)Gravatar dependabot[bot]2023-02-09-5/+5
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump sentry-sdk from 1.14.0 to 1.15.0 (#1206)Gravatar dependabot[bot]2023-02-09-5/+6
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Merge pull request #1202 from thurisatic/apr-earthdayGravatar wookie1842023-02-02-1/+1
|\ | | | | Move Earth Day Reactions from February to April
| * Move Earth Day to April, where it belongsGravatar Thurisatic2023-02-01-1/+1
|/
* Bump flake8-docstrings from 1.6.0 to 1.7.0 (#1199)Gravatar dependabot[bot]2023-01-31-6/+6
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump pre-commit from 3.0.1 to 3.0.2 (#1200)Gravatar dependabot[bot]2023-01-31-5/+5
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Merge pull request #1187 from thurisatic/holiday-reactGravatar wookie1842023-01-29-71/+140
|\ | | | | Add non-Halloween holiday reaction capabilities
| * Merge branch 'main' into holiday-reactGravatar wookie1842023-01-29-26/+33
| |\ | |/ |/|
* | Bump sentry-sdk from 1.13.0 to 1.14.0 (#1193)Gravatar dependabot[bot]2023-01-28-6/+6
| | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump flake8-bugbear from 23.1.17 to 23.1.20 (#1189)Gravatar dependabot[bot]2023-01-28-5/+5
| | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump flake8-annotations from 2.9.1 to 3.0.0 (#1191)Gravatar dependabot[bot]2023-01-28-7/+7
| | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump python-dotenv from 0.21.0 to 0.21.1 (#1190)Gravatar dependabot[bot]2023-01-28-5/+5
| | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump pre-commit from 2.21.0 to 3.0.1 (#1195)Gravatar dependabot[bot]2023-01-28-6/+6
| | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Merge pull request #1188 from ↵Gravatar wookie1842023-01-18-6/+13
|\ \ | | | | | | | | | | | | python-discord/dependabot/pip/flake8-bugbear-23.1.17 Bump flake8-bugbear from 22.12.6 to 23.1.17
| * | Bump flake8-bugbear from 22.12.6 to 23.1.17Gravatar dependabot[bot]2023-01-18-6/+13
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear) from 22.12.6 to 23.1.17. - [Release notes](https://github.com/PyCQA/flake8-bugbear/releases) - [Commits](https://github.com/PyCQA/flake8-bugbear/compare/22.12.6...23.1.17) --- updated-dependencies: - dependency-name: flake8-bugbear dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
| * Isolate regex options to capture groupsGravatar Thurisatic2023-01-18-6/+6
| |
| * Perform small fixes, incl requested: sorting, typo, redundancies, moodGravatar Thurisatic2023-01-17-15/+13
| | | | | | | | | | | | | | | | - Fixes misspelling of hanukkah regex - Move `_check_message` docstring to imperative mood - Remove redundant `_short_circuit_check` from `_check_message` - Remove redundant comma from `EarthDay`'s reaction list - Sort triggers for Halloween and Christmas
| * Add non-Christmas holiday reaction capabilitiesGravatar Thurisatic2023-01-16-18/+89
| | | | | | | | | | | | | | | | | | | | Triggers for reactions are moved from a dict to to a 2-deep NamedTuple. This is cleaner for multiple reactions, and allows for additional parameters, such as months. Message case checking is altered from `.lower` to `re.IGNORECASE`. Not only does the regex flag short circuit, it doesn't modify the string in question
| * De-Halloween-ify reaction Cog: move file, rename internalsGravatar Thurisatic2023-01-15-4/+4
|/ | | | | Additional pending reactions mean putting the reaction Cog in the halloween directory no longer makes sense. Approriate renamings follow.
* fixed typo: spelling mistake (#1183)Gravatar Yuito2023-01-13-1/+1
|
* Merge pull request #1185 from python-discord/dependabot/pip/sentry-sdk-1.13.0Gravatar wookie1842023-01-13-5/+6
|\ | | | | Bump sentry-sdk from 1.12.1 to 1.13.0
| * Bump sentry-sdk from 1.12.1 to 1.13.0Gravatar dependabot[bot]2023-01-13-5/+6
|/ | | | | | | | | | | | | | | Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.12.1 to 1.13.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.12.1...1.13.0) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
* Bump pydis-core from 9.3.1 to 9.4.0 (#1184)Gravatar dependabot[bot]2023-01-12-818/+825
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump pillow from 9.3.0 to 9.4.0 (#1182)Gravatar dependabot[bot]2023-01-08-65/+67
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump botcore version (#1180)Gravatar Amrou Bellalouna2022-12-28-633/+562
| | | Co-authored-by: Amrou Bellalouna <[email protected]>