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

1477 commits

Author SHA1 Message Date
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
9091d76368 Merge branch 'main' into tess-starboard 2024-09-04 08:11:34 -04:00
kzndotsh
f2cd0d58a7 refactor(schema.prisma): restructure schema for better organization and readability
feat(schema.prisma): add Starboard and StarboardMessage models for starboard feature
fix(schema.prisma): remove unnecessary comments and adjust model attributes for better data handling
feat(cases.py): change case_number to be dynamic instead of fixed format
feat(case.py): add functions to handle case count incrementation for better case tracking
2024-09-04 11:57:23 +00:00
88f7b414eb optimizations 2024-09-04 07:50:06 -04:00
7fd0ef959d refactor: Improve starboard remove message with embed 2024-09-04 07:44:21 -04:00
166d06ba08 refactor: Improve starboard configuration message with embed 2024-09-04 07:42:19 -04:00
c842b8ec83 refactor: Improve starboard functionality and add documentation 2024-09-04 07:31:03 -04:00
2de81b1933 refactor: Update perms in the starboard cog 2024-09-04 07:29:34 -04:00
b5369a3d0f refactor: Update starboard_check to use on_raw_reaction_add event 2024-09-04 07:22:19 -04:00
6a7de6b5da refactor: Fix starboard message author self-starring issue 2024-09-04 06:45:21 -04:00
2e2a3b21b4 refactor: First starboard prototype 2024-09-04 06:32:13 -04:00
renovate[bot]
6aa5d97f78
fix(deps): update dependency pyright to v1.1.379 2024-09-04 09:26:48 +00:00
a6c8aaabae refactor: Add StarboardController to database controllers 2024-09-04 04:59:54 -04:00
5d285cd2fe feat: Add Starboard model to schema.prisma 2024-09-04 04:45:42 -04:00
619efb814a
Merge branch 'main' into afk 2024-09-04 03:28:56 -04:00
10dd5af3ea fix(afk.py): Ignore AFK removal if entry is recent 2024-09-04 03:09:39 -04:00
e189a4adb8 Truncate name instead of raising error on character limit 2024-09-04 03:00:50 -04:00
pre-commit-ci[bot]
9018b8c3c4 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-09-04 02:06:26 +00:00
teilorr
886498151c fix(afk.py): small refactors 2024-09-03 23:04:11 -03:00
e0285a9324 chore: Replace commands.Bot with Tux 2024-09-03 15:51:47 -04:00
d79924c86a refactor: Add image generator with test command 2024-09-03 15:44:20 -04:00
kzndotsh
280d4e2e76 refactor(slowmode.py): improve command argument parsing and error handling for better user experience
style(temp_vc.py, tty_roles.py): remove redundant docstrings to improve code readability
refactor(checks.py): enhance user_id assignment logic for better code clarity and maintainability
2024-09-03 17:32:33 +00:00
kzndotsh
29ef7286f4 refactor: Remove contributors workflow file until we find a new one 2024-09-03 13:02:38 -04:00
kzndotsh
92cbec92d3
Merge pull request #512 from allthingslinux/tess-fix-emojicount 2024-09-03 10:47:19 -04:00