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

1027 commits

Author SHA1 Message Date
pre-commit-ci[bot]
ec6790d395 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-08-18 05:31:46 +00:00
lilyyllyyllyly
881daeb679 Use lfs emote rather than tux in rolecount.py 2024-08-18 02:17:58 -03:00
lilyyllyyllyly
7a49694b77 Change LFS role icon 2024-08-18 02:06:48 -03:00
kzndotsh
353a4b7759 feat(emojis): add new tux_notify and tux_tag emojis for better visual representation
feat(event.py): add on_thread_create event handler to notify in general chat when a new support thread is created, improving user engagement and support efficiency
2024-08-17 23:16:32 +00:00
kzndotsh
8fcebd00be docs(CODE_OF_CONDUCT.md, CONTRIBUTING.md): wrap email and URLs in angle brackets for better markdown rendering
refactor(CONTRIBUTING.md): improve document structure and readability by adding indentation and spacing
style(CONTRIBUTING.md): add newline at end of file to adhere to POSIX standards

feat: add .markdownlint.yaml for consistent markdown formatting

This commit adds a .markdownlint.yaml configuration file to enforce consistent markdown formatting across the project. This will help maintain readability and uniformity in all markdown files.

docs: improve readability and clarity of project documentation

- README.md: Simplify title and subtitle formatting, add warning about bot readiness, clarify installation steps, and improve overall readability.
- cli.md: Improve readability by adding line breaks.
- commands.md: Remove unnecessary line break.
- development.md: Simplify introduction, refer to README for installation instructions, and improve readability.
- permissions.md: Improve readability by adding line breaks and clarifying permission levels.

style(services.md): improve readability by adding a line break between two sentences
docs(services.md): add newline at end of file to adhere to POSIX standards
2024-08-17 08:27:13 +00:00
kzndotsh
1bf1642b5b docs(development.md): add detailed explanation about Cogs in the Cogs Primer section to provide better understanding for developers 2024-08-17 07:26:20 +00:00
kzndotsh
fd16a93326
Merge pull request #407 from AuraPy/8ball 2024-08-16 23:57:36 -04:00
AuraPy
18b47e687e
Delete package.json 2024-08-17 04:54:54 +01:00
AuraPy
cc179cf307
Delete package-lock.json 2024-08-17 04:54:33 +01:00
AuraPy
ef7e048b37
Delete node_modules directory 2024-08-17 04:47:05 +01:00
Zayan Arshad
983206b1a3 Added overflow check on 8ball 2024-08-17 04:34:48 +01:00
kzndotsh
d8c4f5f877 chore(.pre-commit-config.yaml): update ruff-pre-commit version from v0.5.7 to v0.6.1 for latest features and bug fixes 2024-08-17 00:16:16 +00:00
kzndotsh
00dc7a91a1
Merge pull request #401 from allthingslinux/renovate/prisma-0.x 2024-08-16 20:15:24 -04:00
kzndotsh
1662187f60
Merge branch 'main' into renovate/prisma-0.x 2024-08-16 20:13:17 -04:00
kzndotsh
7fdb95ee74
Merge pull request #405 from allthingslinux/renovate/ruff-0.x-lockfile 2024-08-16 20:13:04 -04:00
renovate[bot]
a4c383702d
fix(deps): update dependency prisma to ^0.15.0 2024-08-17 00:11:53 +00:00
renovate[bot]
0aff2743dc
fix(deps): update dependency ruff to v0.6.1 2024-08-17 00:11:38 +00:00
kzndotsh
35972b949a
Merge pull request #399 from allthingslinux/renovate/ruff-0.x 2024-08-16 20:09:46 -04:00
kzndotsh
a3e826b0db refactor(help.py): add type hinting to _get_prefix method for better code readability
feat(help.py): modify _get_prefix method to use a default prefix constant when dynamic fetch fails
style(help.py): add line breaks for better code readability
refactor(help.py): rearrange flag_details list initialization for better code organization
style(help.py): remove unnecessary line break in _add_cog_pages method
style(help.py): add line breaks before return statements for better code readability
2024-08-16 23:01:17 +00:00
kzndotsh
5632a90437 docs(development.md): add placeholders for new sections to provide more detailed information about different parts of the project in the future 2024-08-16 22:30:23 +00:00
kzndotsh
6e61e06165 feat(docs): add development.md to provide a guide for developers
refactor(database/controllers): remove db_controller instance from __init__.py to avoid circular imports
2024-08-16 22:18:59 +00:00
electron271
9db45741ef
Merge pull request #400 from allthingslinux/electron271-patch-1
Create SECURITY.md
2024-08-15 21:35:42 -05:00
electron271
24448256e9
Create SECURITY.md 2024-08-15 21:31:15 -05:00
electron271
24545f43b7
fix(snippets.py): fix explanation for snippet not found 2024-08-15 19:41:47 -05:00
electron271
46c6427d2c
explanation for snippet not found 2024-08-15 19:39:04 -05:00
electron271
0303239b62
blame https://github.com/prisma/prisma/issues/22072 2024-08-15 19:34:29 -05:00
electron271
c8fc089263
fix small fuckup with snippet controller 2024-08-15 19:27:25 -05:00
electron271
b54d335278
Merge branch 'main' of https://github.com/allthingslinux/tux 2024-08-15 19:03:22 -05:00
electron271
bcd043e6aa
make snippets case insensitive 2024-08-15 19:03:17 -05:00
kzndotsh
0a036704bb refactor(moderation/__init__.py, snippets.py): replace EmbedCreator.create_error_embed with create_error_embed for cleaner code
fix(moderation/__init__.py, snippets.py): update error messages to use create_error_embed for consistent error handling
2024-08-16 00:03:14 +00:00
renovate[bot]
317893660e
fix(deps): update dependency ruff to ^0.6.0 2024-08-15 14:40:08 +00:00
kzndotsh
687de28a3b feat(poll.py): add reaction filter to poll messages to prevent non-number reactions
refactor(event.py): improve harmful command warning message for better readability and emphasis
2024-08-15 09:36:47 +00:00
kzndotsh
f7677f50c8
Merge pull request #397 from Izder456/main 2024-08-15 05:15:08 -04:00
kzndotsh
09e7bc3eaf
Merge pull request #398 from 0x4248/main 2024-08-15 05:13:12 -04:00
0x4248
64ad7a0e36 chore: add .DS_Store to .gitignore
Signed-off-by: 0x4248 <60709927+0x4248@users.noreply.github.com>
2024-08-15 09:43:39 +01:00
kzndotsh
9e221709ac refactor: remove dollar sign from usage instructions in various commands for consistency
chore: remove error handling blocks from dev.py to simplify code and rely on global error handling

refactor: remove dollar sign from usage instructions in command decorators for clarity and consistency across all command usage instructions

feat(error.py): add prefix to command usage in error messages for better clarity
refactor(error.py): change error messages to be more descriptive and accurate
feat(error.py): use embeds for error messages for better readability
refactor(error.py): comment out specific error handlers to allow global handler to catch all errors for consistency

refactor(help.py): remove static prefix and add dynamic prefix fetching to improve flexibility
feat(help.py): add command aliases to help command categories for better command visibility
refactor(help.py): change several methods to async to support dynamic prefix fetching
feat(embeds.py): add create_error_embed method to standardize error embed creation
2024-08-15 06:33:00 +00:00
izder456
95e3bef1a3 shorten warning message in handlers/event.py 2024-08-15 00:29:08 -05:00
kzndotsh
7384af8d1c feat(config.py): add commands to get channels and logs for each category
refactor(jail.py, unjail.py, guild_config.py, report.py): rename methods to improve clarity and consistency
fix(error.py): add delete_after parameter to error messages to auto-delete them after 30 seconds
2024-08-15 03:55:11 +00:00
kzndotsh
03e46c0ab5 refactor(moderation): centralize condition checks for moderation actions
docs(moderation): add docstrings to moderation methods for better understanding
fix(moderation): remove redundant condition checks in individual moderation commands
feat(moderation): add check_conditions method to handle common condition checks

refactor(moderation): remove redundant permission checks in unban, unjail, untimeout, warn commands
feat(moderation): implement check_conditions method to centralize permission checks for moderation commands
2024-08-15 02:51:00 +00:00
kzndotsh
768df2bb49 fix(slowmode.py): modify error message for invalid channel type to include threads
feat(slowmode.py): add support for 'm' suffix in delay input and convert it to seconds
fix(slowmode.py): update error message for invalid delay value to improve clarity
2024-08-15 02:00:10 +00:00
kzndotsh
c275448677 refactor(moderation): replace MemberConverter with ctx.author for moderator assignment to simplify code
fix(moderation): add User type to moderator to handle cases where moderator is not a Member
fix(moderation): add condition to check if moderator is a Member before comparing roles to prevent errors
style(roles.py): reformat toggle_role function signature for better readability
fix(slowmode.py): remove 'h' from delay units as it's not supported
style(timeout.py): add whitespace for better readability
2024-08-15 01:54:36 +00:00
kzndotsh
4e1c48027d
Merge pull request #396 from allthingslinux/renovate/pyright-1.x-lockfile 2024-08-14 19:50:52 -04:00
kzndotsh
b8f670b197
Merge pull request #395 from allthingslinux/renovate/sentry-sdk-2.x-lockfile 2024-08-14 19:50:45 -04:00
izder456
b1f60ac0d4 Clarify the harmful message warning to actually explain why it may be harmful so ignorant people don't execute it out of negligence. 2024-08-14 12:56:23 -05:00
electron271
fc242be8f3
feat(poll.py) readd poll channel functionality 2024-08-14 11:08:34 -05:00
renovate[bot]
4041b74936
fix(deps): update dependency pyright to v1.1.376 2024-08-14 09:54:12 +00:00
renovate[bot]
7cfe438ab7
fix(deps): update dependency sentry-sdk to v2.13.0 2024-08-13 15:31:36 +00:00
kzndotsh
10f0a0d574
Merge pull request #393 from thecaprisun/patch-1 2024-08-12 18:57:24 -04:00
sun
e6fa9f55ca
Update activity.py 2024-08-12 20:46:12 +02:00
kzndotsh
2f2c95411d
Merge pull request #390 from allthingslinux/dockerfileruninstructions 2024-08-11 22:27:47 -04:00