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

814 commits

Author SHA1 Message Date
electron271
03784f7cb7
Update tux/cogs/error_handler.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2024-05-22 21:30:58 -05:00
electron271
76a974f07d
[Meta] Sudo pun 2024-05-22 20:48:17 -05:00
renovate[bot]
addbe0be2f
fix(deps): update dependency ruff to v0.4.5 2024-05-23 01:41:50 +00:00
renovate[bot]
6b89e4d1ad
fix(deps): update dependency pyright to v1.1.364 2024-05-22 12:49:36 +00:00
renovate[bot]
c1b5d9071c
fix(deps): update dependency githubkit to v0.11.5 2024-05-22 12:49:25 +00:00
electron271
8e69d35fbc
add custom 8ball responses 2024-05-21 19:56:03 -05:00
electron271
e69b135cff
Update README.md 2024-05-21 19:16:15 -05:00
renovate[bot]
08f28da244
fix(deps): update dependency sentry-sdk to v2.2.1 2024-05-21 18:47:39 +00:00
electron271
04c68041ed
Merge pull request #226 from allthingslinux/213-commands-8ball-and-coinflip
[Commands] lots of random commands
2024-05-15 19:02:53 -05:00
electron271
5651baac48
[Commands] lots of random commands 2024-05-15 18:53:32 -05:00
electron271
c6d2858bc8
Merge pull request #225 from allthingslinux/per-guild-snippets
i fucked up, fixing git tree
2024-05-15 18:33:27 -05:00
electron271
975c6305ab
Merge pull request #224 from allthingslinux/neofetch
[Commands] neofetch command
2024-05-15 18:26:39 -05:00
electron271
58a53f5643
[Commands] neofetch command 2024-05-15 18:23:49 -05:00
electron271
53cd967c47
Merge pull request #222 from allthingslinux/per-guild-snippets
[Commands] Make snippets per-guild
2024-05-14 12:52:36 -05:00
electron271
4c91019ec7
[Commands] Make snippets per-guild 2024-05-14 12:46:03 -05:00
pre-commit-ci[bot]
4fb7f1787a
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.3...v0.4.4)
2024-05-13 20:08:05 +00:00
renovate[bot]
ddab98f7b0
fix(deps): update dependency pre-commit to v3.7.1 2024-05-11 03:08:07 +00:00
kzndotsh
c1e4333035 feat(rolecount.py): add new distro_ids and lang_ids to support more distributions and languages
refactor(rolecount.py): modify role_count limit from 25 to 12 to align with discord's embed field limit
refactor(rolecount.py): add return type hint to function and improve code comments for better readability
2024-05-08 16:21:34 +00:00
kzndotsh
3cedd10d00 fix(run.py): correct grammar in embed title for better user understanding 2024-05-08 16:15:40 +00:00
kzndotsh
d47b15e3d4 refactor(run.py): move compiler_map to global scope for better accessibility
feat(run.py): add new command 'languages' to list all supported languages
style(run.py): update embed message format in Run class for better readability
2024-05-08 16:10:24 +00:00
kzndotsh
665b14427b refactor(db.py): increase batch_size from 10 to 25 to improve performance
style(error_handler.py): change error message format for better readability
feat(poll.py): trim leading and trailing whitespaces from poll options for cleaner data
refactor(rolecount.py): rename '_rhel' to '_redhat' for better clarity
chore(tools.py): remove unused encoding and decoding methods to clean up code
2024-05-07 14:56:35 +00:00
kzndotsh
e2d53755c7 style(run.py): capitalize first letter of error description for better readability
feat(run.py): add aliases, help, and usage to 'run' command for better user experience
fix(run.py): update typing animation ID to correct one
feat(run.py): extend compiler_map with more languages for broader code execution support
2024-05-07 14:05:31 +00:00
kzndotsh
a881ab1567
Merge pull request #209 from allthingslinux/renovate/actions-checkout-4.x
chore(deps): update actions/checkout action to v4
2024-05-07 09:47:03 -04:00
renovate[bot]
1735ee4b08
chore(deps): update actions/checkout action to v4 2024-05-07 13:46:34 +00:00
kzndotsh
8b33210640 feat(.github/workflows/todo.yml): add new GitHub action to convert TODO comments into GitHub issues for better tracking and management of pending tasks 2024-05-07 13:46:05 +00:00
kzndotsh
c23f46c033
Merge pull request #206 from allthingslinux/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2024-05-07 09:40:07 -04:00
kzndotsh
59e650ca6d
Merge pull request #205 from allthingslinux/renovate/sentry-sdk-2.x-lockfile
fix(deps): update dependency sentry-sdk to v2.1.1
2024-05-07 09:39:55 -04:00
kzndotsh
3544d778f2
Merge pull request #204 from allthingslinux/add-snippet-usage
[Commands] add usage decorators for snippets
2024-05-07 09:39:43 -04:00
kzndotsh
f8b2faa2d5
Merge pull request #202 from allthingslinux/renovate/ruff-0.x-lockfile
fix(deps): update dependency ruff to v0.4.3
2024-05-07 09:39:26 -04:00
pre-commit-ci[bot]
b94fb4f3c0 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-05-07 02:08:00 +00:00
Kasen Engel
c5352b4933
Update tux/cogs/utility/notes.py
utilize fstrings

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2024-05-06 21:07:55 -05:00
Kasen Engel
a2aa5c0c8a
Update tux/cogs/utility/notes.py
be professional

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2024-05-06 21:07:37 -05:00
Kasen Engel
e5ee78d388
Update tux/cogs/utility/notes.py
using sourcery ideas

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2024-05-06 21:06:51 -05:00
yaboytabby
efe3a4f81f Fixing a debug change (the sync permissions being removed) 2024-05-06 21:05:17 -05:00
yaboytabby
97aebad9da Finished Code 2024-05-06 21:02:00 -05:00
yaboytabby
88668429d6 Added new commands 2024-05-06 18:41:31 -05:00
pre-commit-ci[bot]
bb9a4a95e9
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.2 → v0.4.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.2...v0.4.3)
2024-05-06 20:11:44 +00:00
renovate[bot]
e98453b881
fix(deps): update dependency sentry-sdk to v2.1.1 2024-05-06 12:22:25 +00:00
yaboytabby
6e2b28b944 (WIP) More commands 2024-05-06 06:52:55 -05:00
electron271
1be187e144
[Commands] add usage decorators for snippets 2024-05-05 15:52:34 -05:00
electron271
796399380a
Merge pull request #203 from allthingslinux/200-change-snippet-output-to-plaintext
[Commands] make snippets use text instead of embeds and fix embed states for debug
2024-05-04 13:32:12 -05:00
electron271
ef12fce46f
[Commands] make snippets use text instead of embeds and fix embed states for debug 2024-05-04 13:24:40 -05:00
renovate[bot]
fc495149d0
fix(deps): update dependency ruff to v0.4.3 2024-05-04 02:10:37 +00:00
kzndotsh
b04b651c0b feat(rolecount.py): add more roles to the role count list to provide more detailed statistics
refactor(rolecount.py): remove hardcoding of roles and emojis, use a dictionary for mapping instead to improve maintainability
feat(rolecount.py): add pagination to role count display to improve user experience
fix(rolecount.py): handle case where no roles are found to display, providing better error handling
2024-05-01 19:48:54 +00:00
kzndotsh
7d75466345 feat(utils): add pagination.py for handling list menus in discord interactions
This new file introduces the InteractionListMenuView class which provides functionality for navigating through list menus in discord interactions. It includes methods for starting the interaction, checking the interaction, editing the current index, and handling button presses for navigation. This feature enhances the user experience by providing a more interactive and intuitive way to navigate through lists in discord interactions.
2024-05-01 19:31:15 +00:00
kzndotsh
6d4d713e45 refactor(auto_respond.py): replace harmful_commands list with regex pattern for efficiency
feat(auto_respond.py): add is_harmful function to check if command is harmful using regex
docs(auto_respond.py, emojistats.py, remindme.py): add docstrings to functions for better understanding
feat(run.py): add language aliases to compiler_map for user convenience

docs(snippets.py, tools.py): add docstrings to methods for better code understanding
refactor(snippets.py): improve error handling and logging for snippet operations
refactor(tools.py): add TODO comment for future color format input parsing fix
style(snippets.py, tools.py): improve code readability with better comments and line breaks

docs(godbolt.py): add docstrings to getoutput and generateasm functions to improve code readability and provide function usage details
2024-05-01 18:24:59 +00:00
kzndotsh
9fe55312b0
Merge pull request #197 from allthingslinux/renovate/pyright-1.x-lockfile
fix(deps): update dependency pyright to v1.1.361
2024-05-01 13:20:28 -04:00
kzndotsh
881d505ac4
Merge pull request #196 from allthingslinux/renovate/aioconsole-0.x-lockfile
fix(deps): update dependency aioconsole to v0.7.1
2024-05-01 13:20:17 -04:00
kzndotsh
2887203096 refactor(run.py): improve docstring format for better readability and consistency
style(run.py): add line breaks for better code readability
fix(run.py): move error handling to a separate function for better error management
style(godbolt.py): add line breaks for better code readability
2024-05-01 17:19:36 +00:00
renovate[bot]
a80a9423fe
fix(deps): update dependency pyright to v1.1.361 2024-05-01 16:52:20 +00:00