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

1500 commits

Author SHA1 Message Date
596e24c69f Add more customizability in EmbedCreator 2024-09-05 07:01:05 -04:00
06ae40fc99 Remove create_error_embed from embed.py (replaced by EmbedType.ERROR 2024-09-05 06:30:11 -04:00
0ae2961979 chore: Use structured logging embeds.py 2024-09-05 06:25:57 -04:00
a47571d9b0 chore: Fully type hint embeds.py 2024-09-05 06:24:52 -04:00
2ee09c9666 Remove create_embed_footer from embeds.py 2024-09-05 06:22:09 -04:00
74c390ad0f refactor: Update embed creation in guild config commands 2024-09-05 06:19:42 -04:00
wlinator
8556a1c33f fix: Linting and formatting via Ruff 2024-09-05 10:17:29 +00:00
cd92c15dbc
Merge branch 'main' into tess-improve-embeds 2024-09-05 06:17:12 -04:00
abc369dd0f Move embeds to ui dir 2024-09-05 06:13:32 -04:00
fab8a93408 refactor: Update embed creation in remindme.py 2024-09-05 06:11:55 -04:00
3f9e2a9f76 Remove "error" from the title where it's already in the author text 2024-09-05 06:11:07 -04:00
f1bd14364d refactor: Update embed creation in moderation cogs 2024-09-05 06:08:51 -04:00
fb797584b0 refactor: Rewrite most embeds 2024-09-05 05:47:40 -04:00
6b1cf29828 refactor: Rewrite EmbedCreator 2024-09-05 05:22:25 -04:00
kzndotsh
058c787518
Merge pull request #517 from allthingslinux/tess-prefix-config 2024-09-05 04:43:46 -04:00
8290622480 fix: Use clean_prefix in help command 2024-09-05 04:17:41 -04:00
kzndotsh
8a1ea92783 feat(afk.py): replace hardcoded max_name_limit with constant NICKNAME_MAX_LENGTH for better maintainability
feat(constants.py): add NICKNAME_MAX_LENGTH constant to centralize configuration values
2024-09-05 07:57:45 +00:00
kzndotsh
df4c721834 refactor(dev.py, imgeffect.py, config.py, export.py, setup.py, info.py, membercount.py, __init__.py, ban.py): replace conditional checks for guild existence with assert statements for cleaner code
feat(imgeffect.py): add additional logging for better traceability
refactor(info.py): move button addition logic directly into paginated_embed method for better code organization
fix(__init__.py): correct string formatting in error messages for better user feedback

refactor(moderation): replace logger warnings with assert statements for guild context checks
style(moderation): improve readability of case action emoji assignment in cases.py
docs(moderation): update method descriptions for clarity in jail.py and purge.py
refactor(moderation): improve argument parsing in slowmode.py
style(moderation): improve code readability in slowmode.py and unjail.py

refactor(warn.py, snippets.py): replace conditional checks for guild context with assert statements for cleaner code
fix(poll.py): remove unnecessary return statement in reaction check
style(snippets.py): remove unnecessary type ignore comment for improved readability
2024-09-05 07:51:35 +00:00
9bbb969c67 fix(afk.py): improve AFK functionality error handling 2024-09-05 03:49:36 -04:00
6e951283bc feat: Add input validation for the prefix 2024-09-05 03:33:07 -04:00
962e13656e Refactor get_prefix method in help to use default prefix if none is found 2024-09-05 03:27:08 -04:00
3a9a225d32 chore: Update settings.py 2024-09-05 03:26:11 -04:00
439ca7a52b feat: Refactor guild prefix commands for clarity and consistency 2024-09-04 12:50:28 -04:00
pre-commit-ci[bot]
e293eabbb3 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-09-04 16:49:40 +00:00
f4e9efde72 feat: Add command to clear guild prefix 2024-09-04 12:49:05 -04:00
petabyte-imo
bbd8fb62aa Added a set_tempban_expired and get_expired_tempbans function and changed up tempban a bit 2024-09-04 17:48:13 +01:00
petabyte_
c035205c1f
Merge branch 'allthingslinux:main' into tempban 2024-09-04 17:34:30 +01:00
079c8aafee chore: Update config set_prefix output 2024-09-04 12:26:11 -04:00
dc65c1e23f Update get_guild_prefix method to use table.find_first directly 2024-09-04 11:47:43 -04:00
49aae639ab feat: Update get_prefix function to retrieve custom command prefix from GuildConfigController 2024-09-04 11:36:19 -04:00
7f1aa5395f feat: Add command to set guild prefix 2024-09-04 11:13:54 -04:00
cf44ab4011 feat: Add methods to get and update guild prefix 2024-09-04 11:09:51 -04:00
441655beb3 chore: Update GuildConfig model with optional prefix field 2024-09-04 11:05:53 -04:00
14176a147c feat: Add get_prefix function for custom command prefix 2024-09-04 11:04:32 -04:00
8263108622 refactor: Update default prefixes for production and development environments 2024-09-04 11:01:53 -04:00
kzndotsh
7b5c19f9d3
Merge pull request #513 from allthingslinux/renovate/pyright-1.x-lockfile 2024-09-04 10:19:49 -04:00
kzndotsh
ee5fc9fe7a
Merge pull request #504 from teilorr/afk 2024-09-04 10:19:05 -04:00
kzndotsh
69a84bdff7 refactor(afk.py): improve readability by adding function docstrings and type hints
style(schema.prisma, afk.py): improve code formatting for better readability
feat(afk.py): add welcome back message when user returns from AFK
fix(afk.py): ensure guild exists before inserting AFK status to prevent errors
2024-09-04 14:16:05 +00:00
kzndotsh
4ecad0d509 fix: Linting and formatting via Ruff 2024-09-04 14:04:37 +00:00
kzndotsh
f0dcc745a9
Merge branch 'main' into afk 2024-09-04 10:04:13 -04:00
edcda8fa48
Merge branch 'main' into tempban 2024-09-04 10:01:07 -04:00
kzndotsh
f866b4e60e
Merge pull request #514 from allthingslinux/tess-starboard 2024-09-04 10:00:29 -04:00
pre-commit-ci[bot]
e9868f8885 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-09-04 13:59:49 +00:00
kzndotsh
b1b11a66f7 feat(starboard.py): add new Starboard cog for managing starboard functionality
refactor(starboard.py): move starboard functionality from __init__.py to starboard.py for better organization and readability

docs(starboard.py): add detailed docstrings to all methods in StarboardController and StarboardMessageController classes to improve code readability and provide better understanding of the methods' functionalities and expected parameters and return values.
2024-09-04 13:59:11 +00:00
petabyte-imo
707e1614bf Added reason to unban 2024-09-04 14:56:57 +01:00
petabyte-imo
49d6e45b77 oopsie 2024-09-04 14:31:36 +01:00
petabyte-imo
c3ca0cc275 Fixed the tempban_check looped task and added some comments 2024-09-04 14:28:01 +01:00
petabyte-imo
f183569bdd Fixed the tempban_check looped task and added some comments 2024-09-04 14:27:59 +01:00
petabyte-imo
e0c3b0d0e1 Added a tempban command and a function that gets all guilds from the db 2024-09-04 13:55:28 +01:00
87478ec5c7 chore: Improve documentation 2024-09-04 08:20:28 -04:00