Kasen Engel
6022a1d33d
add assertation to poll.py
2024-09-23 16:43:17 -05:00
Kasen Engel
7e1bb4f934
make unbanning people possible.
2024-09-23 16:38:19 -05:00
Kasen Engel
ce6515782b
Finish up Pollban code and fix some bugs
2024-09-23 16:25:01 -05:00
Kasen Engel
7fe7b85f18
integrate poll banning into poll code, gonna see if this code is working
2024-09-23 17:58:27 +00:00
Kasen Engel
65466b5b25
Added the code, heavily derived off of the snippet ban code. gonna integrate with polls next.
2024-09-23 17:39:32 +00:00
Kasen Engel
1b5b8c5f48
update schema.prisma casetype
2024-09-23 17:31:11 +00:00
Kasen Engel
06dfab4304
update flags.py to include pollban/unban
2024-09-23 17:28:19 +00:00
Kasen Engel
356176560f
add pollban command cog
2024-09-23 16:45:12 +00:00
electron271
5d807114f0
fix(fact.py) remove duplicate
2024-09-23 00:26:31 -05:00
kzndotsh
edb0b5b29b
refactor: convert methods to static methods in various classes for improved clarity and usability
2024-09-21 01:14:32 -04:00
kzndotsh
cb135e4468
chore(.pre-commit-config.yaml): upgrade ruff-pre-commit from v0.6.5 to v0.6.6 to include latest updates and bug fixes
2024-09-21 00:40:54 -04:00
kzndotsh
7b07a2ef4a
Merge pull request #541 from allthingslinux/tess-remindme-rewrite
2024-09-21 00:39:54 -04:00
kzndotsh
6e201bafd5
fix(remindme.py): wrap reminder sending logic in try-except block to handle exceptions and prevent app crash
...
feat(remindme.py): add logging of errors when sending reminders fails to improve error tracking and debugging
2024-09-21 00:39:08 -04:00
kzndotsh
5b2dcc2cab
Merge branch 'main' into tess-remindme-rewrite
2024-09-21 00:18:58 -04:00
kzndotsh
c3a6bd3654
Merge pull request #547 from allthingslinux/renovate/ruff-0.x-lockfile
2024-09-21 00:18:27 -04:00
kzndotsh
9676b5a4db
Merge pull request #544 from allthingslinux/renovate/pyright-1.x-lockfile
2024-09-21 00:18:15 -04:00
kzndotsh
ea6bf27727
Merge pull request #554 from allthingslinux/renovate/mkdocs-material-9.x-lockfile
2024-09-21 00:17:41 -04:00
kzndotsh
60585bdf2b
Merge pull request #552 from allthingslinux/renovate/pydantic-2.x-lockfile
2024-09-21 00:17:31 -04:00
kzndotsh
c20d44a23b
Merge pull request #549 from allthingslinux/pre-commit-ci-update-config
2024-09-21 00:17:16 -04:00
kzndotsh
d9fb3ebb67
Merge pull request #548 from allthingslinux/renovate/githubkit-0.x-lockfile
2024-09-21 00:17:08 -04:00
renovate[bot]
b21e2f641c
fix(deps): update dependency ruff to v0.6.6
2024-09-20 07:47:55 +00:00
renovate[bot]
7ec3993429
fix(deps): update dependency pyright to v1.1.381
2024-09-18 09:35:11 +00:00
renovate[bot]
09c79b9eae
chore(deps): update dependency mkdocs-material to v9.5.35
2024-09-18 09:35:01 +00:00
renovate[bot]
f7c5d7f4c2
fix(deps): update dependency pydantic to v2.9.2
2024-09-17 16:36:36 +00:00
pre-commit-ci[bot]
c2d6a6db5c
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/gitleaks/gitleaks: v8.18.4 → v8.19.2](https://github.com/gitleaks/gitleaks/compare/v8.18.4...v8.19.2 )
- [github.com/astral-sh/ruff-pre-commit: v0.6.4 → v0.6.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.4...v0.6.5 )
2024-09-16 20:31:38 +00:00
renovate[bot]
5578504255
fix(deps): update dependency githubkit to v0.11.10
2024-09-16 05:00:37 +00:00
kzndotsh
c9a526fc8d
feat(regex.py): add regex patterns for discord related entities
...
This commit introduces a new file, regex.py, which contains various regular
expressions for matching Discord related entities such as user mentions,
channel mentions, role mentions, invites, files, messages, custom emojis,
and URLs. This will help in validating and extracting data from these entities.
2024-09-14 17:25:59 -04:00
kzndotsh
8b918635b9
feat(hot_reload.py): add hot reloading functionality for bot extensions
...
This commit introduces a new feature that allows for hot reloading of bot extensions. This is achieved by continuously checking for changes in extension files and reloading them if any modifications are detected. This feature improves the development workflow by eliminating the need to manually restart the bot whenever an extension is updated.
2024-09-14 14:44:39 -04:00
kzndotsh
0b494a41b8
feat(pyproject.toml): add 'emojis' package to dependencies to support emoji handling
...
feat(pyproject.toml): add 'types-dateparser', 'types-pytz', 'types-pyyaml' to dependencies for better type checking
refactor(pyproject.toml): clean up 'exclude' lists in 'tool.ruff' and 'tool.pyright' sections, removing unnecessary entries
feat(pyproject.toml): enable 'enableReachabilityAnalysis', 'reportImportCycles', 'strictDictionaryInference', 'strictListInference', 'strictSetInference' in 'tool.pyright' for stricter type checking
refactor(pyproject.toml): move '.venv' to 'ignore' list in 'tool.pyright' section for better project structure management
2024-09-14 04:51:52 -04:00
kzndotsh
e6b1220e68
Update .gitignore to simplify environment file exclusions
2024-09-14 02:18:14 -04:00
de9667a08e
Merge pull request #545 from allthingslinux/tess-docker-ghcr
...
Create docker-image.yml
2024-09-11 07:29:14 -04:00
8ba6eaf452
Create docker-image.yml
2024-09-11 07:25:15 -04:00
Kasen Engel
962d98da65
Merge pull request #542 from allthingslinux/donor-icons
...
added donor roles
2024-09-10 16:45:46 -05:00
Kasen Engel
3cfba32ca4
Merge branch 'main' into donor-icons
2024-09-10 16:42:35 -05:00
8f7c7e76a5
Update error logging for failed reminders
2024-09-10 09:52:59 -04:00
44cc360da8
Make the database fetch as light as possible, allowing a remindme every 120 seconds
2024-09-10 09:35:20 -04:00
d8300957a4
feat(database): Add more information in the command embed
2024-09-10 09:13:27 -04:00
49c71d7ba7
chore(database): Add method to retrieve unsent reminders
2024-09-10 09:03:30 -04:00
7625999cb1
core(remindme): Update the database controller
2024-09-10 09:00:28 -04:00
4218656483
Add reminder_sent
attribute to the database
2024-09-10 09:00:09 -04:00
kzndotsh
d14a4999ad
Merge pull request #526 from allthingslinux/tess-change-flags
2024-09-10 08:58:22 -04:00
kzndotsh
baa83e9c47
Merge branch 'main' into tess-change-flags
2024-09-10 08:56:24 -04:00
kzndotsh
41a33974f9
Merge pull request #540 from allthingslinux/tess-perm-optimization
2024-09-10 08:55:32 -04:00
kzndotsh
0d866cb6c4
Merge branch 'main' into tess-perm-optimization
2024-09-10 08:53:34 -04:00
kzndotsh
54d6130cf7
refactor(moderation): change return type of send_dm method to bool to track DM status
...
feat(moderation): add dm_sent parameter to handle_case_response method to handle DM status
fix(moderation): update all moderation actions to use new send_dm and handle_case_response methods
feat(moderation): add DM status to embed description in handle_case_response method
fix(unjail.py): ensure jail role is removed even if no previous roles are found
2024-09-10 12:51:17 +00:00
2e1ed2c4f3
refactor(utils): improve documentation
2024-09-10 08:48:27 -04:00
ef024d93b2
Remove randomizer in flag generator
2024-09-10 08:45:47 -04:00
32561a6ba4
Descriptive argument placeholders in generate_usage
2024-09-10 08:43:48 -04:00
kzndotsh
74f539f54d
Merge pull request #537 from allthingslinux/tess-patch-starboard
2024-09-10 08:13:00 -04:00
kzndotsh
bd2360d107
Merge pull request #536 from allthingslinux/reportimprovment
2024-09-10 08:12:42 -04:00