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

1275 commits

Author SHA1 Message Date
kzndotsh
92cbec92d3
Merge pull request #512 from allthingslinux/tess-fix-emojicount 2024-09-03 10:47:19 -04:00
kzndotsh
2f5ffee5ae
Merge pull request #511 from allthingslinux/tess-fixping 2024-09-03 10:47:03 -04:00
kzndotsh
b9aa036a61
Merge pull request #510 from allthingslinux/snippetHelpPatch 2024-09-03 10:46:33 -04:00
kzndotsh
9a149d65bd
Merge pull request #509 from allthingslinux/pre-commit-ci-update-config 2024-09-03 10:46:18 -04:00
4221d3b092 refactor: Format RAM usage in Ping command to nearest integer 2024-09-03 10:29:53 -04:00
21927b6445 refactor: Update guild emoji limit calculation in info cog 2024-09-03 10:13:13 -04:00
25f2308139 refactor: Fix the CPU and RAM usage in the Ping command 2024-09-03 10:03:32 -04:00
Atmois
bf7c9f76e5
Add missing argument in editsnippet help 2024-09-03 10:48:22 +01:00
pre-commit-ci[bot]
55d59c5965
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.2 → v0.6.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.2...v0.6.3)
2024-09-02 20:27:43 +00:00
kzndotsh
1c1a2e1456
Merge pull request #507 from allthingslinux/tess-changebot 2024-09-02 12:02:48 -04:00
bb8f35a44b chore: Small fix in docker-compose.yml 2024-09-02 11:57:42 -04:00
7038da4c45 refactor: Update README to provide more info about Docker Compose hot reloading 2024-09-02 11:53:40 -04:00
5fb58c274a refactor: Update Docker config to use Compose Watch 2024-09-02 11:47:16 -04:00
f9f9377583 refactor: Use tux.bot.Tux directly in most files instead of its subclass 2024-09-02 10:55:43 -04:00
kzndotsh
854c9566a8
Merge pull request #505 from allthingslinux/tess-docker-dev 2024-09-02 10:41:28 -04:00
c310e8aaa6 refactor: Update Docker Compose configuration and Dev cog
- Update Docker Compose configuration to use bind mount for volume
- Update Dev cog to use the correct import for the Tux bot class
- Add a new 'stop' command to the Dev cog to stop the bot
2024-09-02 10:24:07 -04:00
kzndotsh
d11688b8e8
Merge pull request #503 from allthingslinux/tess-constfix 2024-08-31 16:47:36 -04:00
2222e1abcd refactor: update GITHUB_APP_ID and GITHUB_INSTALLATION_ID default values 2024-08-31 14:33:47 -04:00
kzndotsh
cc233f210e
Merge pull request #501 from allthingslinux/contributors-readme-action-slrGM8qoF6 2024-08-31 14:09:33 -04:00
kzndotsh
ccc156eea0
Merge pull request #500 from allthingslinux/contributors-readme-action-EsImON6xVs 2024-08-31 14:09:25 -04:00
github-actions[bot]
c798a89e92
docs(contributor): contrib-readme-action has updated readme 2024-08-31 18:08:29 +00:00
github-actions[bot]
5800d71250
docs(contributor): contrib-readme-action has updated readme 2024-08-31 18:08:21 +00:00
kzndotsh
544ed4db14
Merge pull request #496 from allthingslinux/renovate/aioconsole-0.x 2024-08-31 14:08:19 -04:00
kzndotsh
7a3d7f6041
Merge pull request #499 from allthingslinux/renovate/mkdocs-material-9.x-lockfile 2024-08-31 14:08:11 -04:00
kzndotsh
eb5c360a4d
Merge pull request #491 from teilorr/fix-449 2024-08-31 14:08:01 -04:00
kzndotsh
ab01455674 refactor(info.py): remove unnecessary line of code to improve readability and maintainability
refactor(info.py): simplify command decorators for readability
refactor(info.py): change ctx type from commands.Context[commands.Bot] to commands.Context for simplicity
feat(info.py): add paginated_embed method to handle paginated embeds in a more reusable way
fix(info.py): check if guild exists before proceeding with commands to prevent errors
feat(info.py): add more detailed server and member information to embeds
refactor(info.py): streamline embed creation for cleaner code
refactor(info.py): remove unused _create_embed_desc method
refactor(info.py): update _chunks method to return list of strings for consistency
refactor(info.py): update _add_buttons_to_menu method to return ViewMenu for consistency

refactor: replace individual button addition with loop to improve code readability and maintainability
2024-08-31 18:04:36 +00:00
renovate[bot]
83395e9328
fix(deps): update dependency aioconsole to ^0.8.0 2024-08-31 17:48:56 +00:00
renovate[bot]
00a96deb6d
chore(deps): update dependency mkdocs-material to v9.5.34 2024-08-31 17:48:50 +00:00
kzndotsh
cd30e811ef
Merge branch 'main' into fix-449 2024-08-31 13:47:01 -04:00
kzndotsh
104db94d41 chore(.pre-commit-config.yaml): comment out pyright-python hook due to compatibility issues
refactor(.pre-commit-config.yaml): change exclude path from /stubs to /typings for better directory naming
2024-08-31 17:44:28 +00:00
kzndotsh
6e6dd633aa refactor(reactionmenu): move stubs to new typings dir 2024-08-31 13:39:57 -04:00
kzndotsh
d8860ce440 ci(pyright.yml): add extra-args to pyright-action to exclude stubs directory from type checking to avoid false positives 2024-08-31 17:23:45 +00:00
kzndotsh
4e79273505 chore(pyright.yml): reorder steps in GitHub workflow for better readability and efficiency
refactor(pyright.yml): rename some steps for clarity
fix(pyright.yml): change the way of activating virtual environment to ensure correct Python environment is used
style(pyright.yml): add newline at end of file to adhere to POSIX standards
2024-08-31 17:18:54 +00:00
kzndotsh
ae7abc20e6 chore(pyright.yml): streamline GitHub Actions workflow for Python setup and Poetry installation
refactor(pyright.yml): rename some steps for clarity and better understanding
feat(pyright.yml): add Prisma Client generation step to the workflow
fix(pyright.yml): specify working directory, python platform and version for Pyright action to ensure correct environment setup
2024-08-31 17:16:13 +00:00
kzndotsh
04237ae840 refactor(pyright.yml): simplify poetry installation process in GitHub Actions workflow
fix(pyright.yml): remove unnecessary steps and parameters for poetry installation to improve workflow efficiency
feat(pyright.yml): use pipx for poetry installation to ensure isolation of python packages
2024-08-31 17:06:14 +00:00
kzndotsh
4af00c1300 refactor(pyright.yml): simplify GitHub Actions workflow for better readability and maintenance
feat(pyright.yml): add cache to Python setup for faster workflow execution
style(pyright.yml): improve naming conventions for better understanding
feat(pyright.yml): add environment debug print for easier troubleshooting
2024-08-31 17:00:27 +00:00
kzndotsh
5c6edacd9d chore(pyright.yml): rename job from 'test' to 'pyright' for better clarity
feat(pyright.yml): add steps to activate virtual environment and add poetry bin to PATH for improved workflow setup
2024-08-31 16:52:13 +00:00
kzndotsh
065ec67efb feat(.github/workflows/pyright.yml): add Pyright GitHub action for type checking
This commit adds a new GitHub action workflow for Pyright, a static type checker for Python. The workflow is triggered on push and pull request events. It sets up Python, installs Poetry and project dependencies, and runs Pyright for type checking. This will help improve code quality by catching type errors before they are merged into the main branch.
2024-08-31 16:48:55 +00:00
kzndotsh
60ce767eaf Revert "feat(pyright.yml): add new GitHub workflow for type checking using Pyright to ensure code quality and prevent type errors"
This reverts commit 2da3d61d22.
2024-08-31 12:35:21 -04:00
kzndotsh
2da3d61d22 feat(pyright.yml): add new GitHub workflow for type checking using Pyright to ensure code quality and prevent type errors 2024-08-31 16:33:54 +00:00
kzndotsh
8e778abd7c
Merge pull request #490 from allthingslinux/renovate/ruff-0.x-lockfile 2024-08-31 11:55:16 -04:00
teilorr
547f129d3c fix(tux/cogs/info/info.py): fixes embed lenght bug for roles and emotes 2024-08-29 23:59:20 -03:00
kzndotsh
43ddda891d feat(.pre-commit-config.yaml): add pyright hook to pre-commit config for better type checking
refactor(.pre-commit-config.yaml): update exclude pattern to exclude stubs directory along with .archive directory
2024-08-30 00:08:26 +00:00
kzndotsh
9b634a7dbe feat(bookmarks.py): import 'cast' from 'typing' to ensure type safety
refactor(bookmarks.py): cast 'channel' to 'discord.TextChannel | discord.Thread' to improve type safety
refactor(bookmarks.py): change 'emoji' parameter type from 'str' to 'discord.PartialEmoji' for better type consistency
2024-08-29 23:52:29 +00:00
renovate[bot]
2218f4b360
fix(deps): update dependency ruff to v0.6.3 2024-08-29 17:09:42 +00:00
kzndotsh
72169b3198 fix(bookmarks.py): correct the way to get the length of message content from 'message.content.length' to 'len(message.content)' to avoid runtime errors 2024-08-29 13:17:18 +00:00
kzndotsh
cef56b2be2 feat(bookmarks.py): add check for message length exceeding max embed description length and truncate if necessary
refactor(bookmarks.py): remove duplicate code for removing reaction from message
fix(bookmarks.py): move notify_message deletion inside exception block to ensure it only runs when an error occurs
2024-08-29 13:10:35 +00:00
kzndotsh
b10fc639a7
Merge pull request #489 from allthingslinux/contributors-readme-action-N4uQXZ4Rck 2024-08-29 04:04:27 -04:00
github-actions[bot]
335f318ea8
docs(contributor): contrib-readme-action has updated readme 2024-08-29 08:02:19 +00:00
kzndotsh
a57dbdfcfc
Merge pull request #485 from targzballs/main 2024-08-29 04:02:06 -04:00