1
Fork 0
mirror of https://github.com/allthingslinux/tux.git synced 2024-10-02 16:43:12 +00:00
Commit graph

1446 commits

Author SHA1 Message Date
rm-rf-omega
1ef9ee6637 Fixed GH somehow adding commit information in a source code file (WTF?) 2024-09-22 00:43:47 +02:00
rm-rf-omega
19f51c2685 Make Pyright a bit happier about my code 2024-09-22 00:39:52 +02:00
rm-rf-tux
68b7f4de7f fix: Linting and formatting via Ruff 2024-09-21 22:17:27 +00:00
rm-rf-omega
c07c086f3b Added a GIF ratelimiter cog.
Modified config example accordingly
Modified constants accordingly
2024-09-22 00:14:32 +02: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
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
Kasen Engel
01b18a8ec1 added donor roles 2024-09-10 06:31:02 -05:00
1572fe87e4 Rewrite checks.py 2024-09-10 06:09:14 -04:00
86a99cd267
Merge pull request #538 from allthingslinux/renovate/pydantic-2.x-lockfile
fix(deps): update dependency pydantic to v2.9.1
2024-09-10 05:50:39 -04:00
db8dab1fcc
Merge pull request #539 from allthingslinux/renovate/sentry-sdk-2.x-lockfile
fix(deps): update dependency sentry-sdk to v2.14.0
2024-09-10 05:50:22 -04:00
6d46ed3bc2 Don't edit the starboard post if same amount of stars 2024-09-10 05:33:26 -04:00
366d5abab6 feat(starboard): add quiet attempt to remove the reaction if it's by the message author 2024-09-10 05:22:18 -04:00
e143b37d09 Refactor starboard methods to clean up duplicate code 2024-09-10 05:19:04 -04:00
renovate[bot]
ea86c6172b
fix(deps): update dependency sentry-sdk to v2.14.0 2024-09-09 16:40:34 +00:00
renovate[bot]
33caa418a8
fix(deps): update dependency pydantic to v2.9.1 2024-09-09 12:28:23 +00:00
8bc360c2b2 feat(starboard.py): Add on_raw_reaction_clear_emoji 2024-09-09 07:22:24 -04:00
04ae7d0a16 feat(starboard.py): Add on_raw_reaction_clear 2024-09-09 07:20:42 -04:00
d7b820b8de fix(starboard.py): Refactor starboard methods for better performance 2024-09-09 07:13:39 -04:00
7fd8a0dd9e fix(starboard.py): Refactor starboard_on_reaction_add method for better readability and performance 2024-09-09 06:38:28 -04:00
a69b360ed4 fix(starboard.py): Make the starboard check lighter on the API 2024-09-09 06:36:15 -04:00
Atmois
774049acad
create thread for each report 2024-09-08 15:35:18 +01:00
Atmois
582f99e845
made reports anonymous again 2024-09-08 15:12:17 +01:00
kzndotsh
af015e0314 docs(embeds.py): refactor docstrings to numpy style for better readability and consistency
fix(embeds.py): update default user avatar URL to point to the new location in the project repository
2024-09-08 06:24:49 +00:00
kzndotsh
1df9994a44 assets: add avatar.png 2024-09-08 02:23:55 -04:00
kzndotsh
c2db2b60e6
Merge branch 'main' into tess-change-flags 2024-09-08 02:20:39 -04:00
kzndotsh
e0357c4420 fix(starboard.py): add check for original_message content before setting embed description to prevent empty descriptions
feat(starboard.py): add original_message content to embed description to provide more context in the starboard message
2024-09-08 06:16:49 +00:00
kzndotsh
b46b24d258 docs(README.md): add Contributors section with contrib.rocks image to acknowledge contributors
docs(permissions.md): update file paths for Sys Admin and Bot Owner from config.json to config/settings.yml for better organization
docs(permissions.md): clarify Server Owner role description for better understanding
2024-09-08 05:57:59 +00:00
8ebcf6088e chore: Fix merge issues 2024-09-07 17:17:56 -04:00
pre-commit-ci[bot]
5d1472d4a8 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-09-07 21:11:45 +00:00
bf9a91559f
Merge branch 'main' into tess-change-flags 2024-09-07 17:11:38 -04:00
a62792085e
Merge pull request #531 from petabyte-imo/EmbedCreator-usage-fix
Embed Creator usage fix
2024-09-07 16:45:47 -04:00
pre-commit-ci[bot]
76d07157a8 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-09-07 20:41:31 +00:00
petabyte-imo
76ab9a23ba Added a few more 2024-09-07 21:41:19 +01:00
dde70c009b feat: Improve EmbedCreator by adding option to hide timestamp 2024-09-07 15:57:42 -04:00