aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py (unfollow)
Commit message (Collapse)AuthorLines
2023-02-19remove the call to action to check DMS for the bmGravatar Amrou Bellalouna-1/+0
2023-02-19add formatting to the ephemeral embedGravatar Amrou Bellalouna-2/+2
2023-02-19build a new bookmark embed for the context menu commandGravatar Amrou Bellalouna-3/+14
This will be sent along the ephemeral message
2023-02-19mark label as optionalGravatar Amrou Bellalouna-1/+1
2023-02-19move class var before ctorGravatar Amrou Bellalouna-9/+9
2023-02-19return embed directly from build_bookmark_embedGravatar Amrou Bellalouna-2/+1
2023-02-19add a bookmark selection formGravatar Amrou Bellalouna-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.
2023-02-19fix `AttributeError` on interaction.userGravatar Amrou Bellalouna-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.
2023-02-19fix `AttributeError` on interaction.channelGravatar Amrou Bellalouna-1/+1
This bus was introduced upon refactoring the perms check, and it calls channel from within a channel.
2023-02-19use existing `build_error_embed` func to construct unauthorized messageGravatar Amrou Bellalouna-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
2023-02-19keep style consistency when forming embedsGravatar Amrou Bellalouna-5/+2
2023-02-19make bookmark_context_menu_callback protectedGravatar Amrou Bellalouna-2/+2
2023-02-19rename run_permission_check to user_is_permitted_to_bookmarkGravatar Amrou Bellalouna-3/+6
2023-02-19appease linterGravatar Amrou Bellalouna-5/+7
2023-02-19add bm context menuGravatar Amrou Bellalouna-0/+17
2023-02-19delegate building bm embedGravatar Amrou Bellalouna-7/+11
2023-02-19move running permission checks in a static methodGravatar Amrou Bellalouna-10/+19
2023-02-19sync commands upon cog loadGravatar Amrou Bellalouna-0/+4
2023-02-17bump isort to 5.12.0 in precommit configGravatar Amrou-1/+1
2023-02-09Bump pydis core to 9.4.1Gravatar Amrou Bellalouna-59/+59
Author: Amrou Bellalouna <[email protected]>
2023-02-09Bump beautifulsoup4 from 4.11.1 to 4.11.2 (#1201)Gravatar dependabot[bot]-5/+5
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Xithrius <[email protected]>
2023-02-09Bump pre-commit from 3.0.2 to 3.0.4 (#1205)Gravatar dependabot[bot]-5/+5
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-09Bump sentry-sdk from 1.14.0 to 1.15.0 (#1206)Gravatar dependabot[bot]-5/+6
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01Move Earth Day to April, where it belongsGravatar Thurisatic-1/+1
2023-01-31Bump flake8-docstrings from 1.6.0 to 1.7.0 (#1199)Gravatar dependabot[bot]-6/+6
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31Bump pre-commit from 3.0.1 to 3.0.2 (#1200)Gravatar dependabot[bot]-5/+5
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-28Bump sentry-sdk from 1.13.0 to 1.14.0 (#1193)Gravatar dependabot[bot]-6/+6
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-28Bump flake8-bugbear from 23.1.17 to 23.1.20 (#1189)Gravatar dependabot[bot]-5/+5
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-28Bump flake8-annotations from 2.9.1 to 3.0.0 (#1191)Gravatar dependabot[bot]-7/+7
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-28Bump python-dotenv from 0.21.0 to 0.21.1 (#1190)Gravatar dependabot[bot]-5/+5
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-28Bump pre-commit from 2.21.0 to 3.0.1 (#1195)Gravatar dependabot[bot]-6/+6
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-18Isolate regex options to capture groupsGravatar Thurisatic-6/+6
2023-01-18Bump flake8-bugbear from 22.12.6 to 23.1.17Gravatar dependabot[bot]-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]>
2023-01-17Perform small fixes, incl requested: sorting, typo, redundancies, moodGravatar Thurisatic-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
2023-01-16Add non-Christmas holiday reaction capabilitiesGravatar Thurisatic-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
2023-01-15De-Halloween-ify reaction Cog: move file, rename internalsGravatar Thurisatic-4/+4
Additional pending reactions mean putting the reaction Cog in the halloween directory no longer makes sense. Approriate renamings follow.
2023-01-13fixed typo: spelling mistake (#1183)Gravatar Yuito-1/+1
2023-01-13Bump sentry-sdk from 1.12.1 to 1.13.0Gravatar dependabot[bot]-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]>
2023-01-12Bump pydis-core from 9.3.1 to 9.4.0 (#1184)Gravatar dependabot[bot]-818/+825
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-08Bump pillow from 9.3.0 to 9.4.0 (#1182)Gravatar dependabot[bot]-65/+67
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-28Bump botcore version (#1180)Gravatar Amrou Bellalouna-633/+562
Co-authored-by: Amrou Bellalouna <[email protected]>
2022-12-26Bump pre-commit from 2.20.0 to 2.21.0 (#1178)Gravatar dependabot[bot]-19/+6
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-24Bump flake8-isort from 5.0.3 to 6.0.0 (#1175)Gravatar dependabot[bot]-6/+6
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-21Bump sentry-sdk from 1.11.1 to 1.12.1 (#1172)Gravatar dependabot[bot]-5/+6
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-21Bump rapidfuzz from 2.13.6 to 2.13.7 (#1174)Gravatar dependabot[bot]-92/+94
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-21Bump pep8-naming from 0.13.2 to 0.13.3 (#1173)Gravatar dependabot[bot]-7/+6
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-14Update CSS class in soup targetGravatar bradtimmis-1/+1
2022-12-14Ignore ellipses when suggesting commandsGravatar Cam Caswell-1/+3
2022-12-14Bump lxml from 4.9.1 to 4.9.2Gravatar dependabot[bot]-73/+79
Bumps [lxml](https://github.com/lxml/lxml) from 4.9.1 to 4.9.2. - [Release notes](https://github.com/lxml/lxml/releases) - [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt) - [Commits](https://github.com/lxml/lxml/compare/lxml-4.9.1...lxml-4.9.2) --- updated-dependencies: - dependency-name: lxml dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2022-12-13Bump rapidfuzz from 2.13.4 to 2.13.6 (#1164)Gravatar dependabot[bot]-92/+92
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>