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

1249 commits

Author SHA1 Message Date
kaizen
bf66c033cb [Refactor] Move sync and clear out of main into commands directory 2024-01-11 12:55:34 -05:00
kaizen
a8a3f6745c [Fix] Duplicate on app completion event in main.py 2024-01-10 01:05:48 -05:00
kaizen
85748a0a49 [Edit] Ping command 2024-01-10 00:56:33 -05:00
kaizen
c1c2afa7f2 [Add] on text and slash command completion events 2024-01-10 00:44:03 -05:00
kaizen
77cfeed93f [Docs] Add TODO notice to on member update 2024-01-09 23:53:51 -05:00
kaizen
ef2b788b1c [Add] on_thread_create, delete, join, update, remove, member join, member remove 2024-01-09 23:29:30 -05:00
kaizen
93b84378e3 [Fix] Change print to logger 2024-01-09 23:05:13 -05:00
kaizen
e64781ad1b [Refactor][Update] pre-commit hook versions and refactor error handling
Pyright type checking has been set to basic for now.

The pre-commit hooks for `ruff-pre-commit` and `pyright-python` have been updated to their latest versions for code quality improvements. The `pre-commit-config` and `pyproject.toml` files were modified to reflect these changes.

Also, the error handler has been completely rewritten in a more flexible and scalable manner, addressing various error scenarios in a cleaner and clearer way. Individual error handling methods for common cases are now in place, making it easier to extend with more exception types in the future.

Removed some unused references to the old error handler in the main application file, simplifying the logic there. The `pyright` type checking configuration in `pyproject.toml` was also adjusted for less strict checking, better suited to our current project requirements.

Lastly, the lockfile `poetry.lock` was updated and unnecessarily tagged "dev" packages were removed.

In the wake of these changes, be mindful that the behaviour of error prompts to the user and of type checks may slightly differ.

Additional notes include punctuation and formatting adjustments to improve readability throughout the files changed.
2024-01-09 22:58:09 -05:00
kzndotsh
957b7fcb9d
Merge pull request #54 from allthingslinux/main
[Fix] Error handler and ping command
2024-01-09 20:28:01 -05:00
kaizen
d772be96b4 [Fix] Error handler and ping command 2024-01-09 10:56:49 -05:00
kzndotsh
f83a69e582
Merge pull request #53 from allthingslinux/main
[Fix] Merge main into Alpha for ruff fixes
2024-01-08 21:28:53 -05:00
ExploitDemon
70757e9f45
Merge pull request #52 from allthingslinux/dev
[Feature] Implement Ruff Linting for Enhanced Code Quality
2024-01-08 19:26:24 -07:00
ExploitDemon
f16bda7646 got rid of this file 2024-01-08 19:21:30 -07:00
ExploitDemon
c49c7310ba Merge branch 'dev' of https://github.com/allthingslinux/tux into dev 2024-01-08 19:18:40 -07:00
ExploitDemon
bb48990e86 Merge remote-tracking branch 'origin' into dev 2024-01-08 19:17:56 -07:00
ExploitDemon
09d7de86a5 style fixes by ruff 2024-01-09 02:13:02 +00:00
ExploitDemon
da68a2ead3 changes 2024-01-08 19:12:51 -07:00
ExploitDemon
ea4725a887 added 2024-01-08 19:12:10 -07:00
ExploitDemon
7fc68dbd88 changes 2024-01-08 19:04:27 -07:00
ExploitDemon
e5c905a024 [Fix] pyproject.toml refractoring 2024-01-08 19:01:17 -07:00
ExploitDemon
051f461aec fix 2024-01-08 18:42:17 -07:00
ExploitDemon
4319efe92b fix 2024-01-08 18:36:43 -07:00
ExploitDemon
f70271f6c1 [Fix] Ruff 2024-01-08 18:35:14 -07:00
ExploitDemon
3dced41570 added ruff 2024-01-08 18:27:09 -07:00
kzndotsh
18a147eb94
Merge pull request #51 from allthingslinux/main
Merge main into Alpha
2024-01-08 18:05:04 -05:00
kzndotsh
2352f80d2f
Merge branch 'Alpha' into main 2024-01-08 18:00:35 -05:00
James Eginton
bed4cec7dd
Merge pull request #50 from allthingslinux/dev
Feature: Enhance Error Handling and Logging in Discord Bot
2024-01-08 17:12:12 -05:00
ExploitDemon
38d6908c39 wrapped main within a try and except clause 2024-01-08 15:05:39 -07:00
ExploitDemon
f93bb1a735 Add exception message printing in ErrorHandler 2024-01-08 15:00:59 -07:00
ExploitDemon
2558344b28 added in-line comments 2024-01-08 14:53:35 -07:00
kzndotsh
d6a0e852e8
Merge pull request #49 from allthingslinux/dev
broke out error handling
2024-01-08 16:48:43 -05:00
kaizen
f0111257e6 [Fix] pyproject.toml pyright not using venv 2024-01-08 16:33:07 -05:00
ExploitDemon
23c9b40c3f updated workflow 2024-01-08 14:23:49 -07:00
ExploitDemon
5ab77eab0a broke out error handling 2024-01-08 14:21:00 -07:00
kzndotsh
8638fb0277
Merge pull request #48 from allthingslinux/automated/package-updates-1704744963
Update Python packages
2024-01-08 16:10:37 -05:00
ExploitDemon
78a659b5b4
Merge pull request #42 from allthingslinux/refractor_pri
refractored PR
2024-01-08 13:18:15 -07:00
ExploitDemon
6785e09942 Update Python packages 2024-01-08 20:16:02 +00:00
ExploitDemon
483e3176d8 changes 2024-01-08 13:14:27 -07:00
ExploitDemon
900679c06d fix> 2024-01-08 12:54:57 -07:00
ExploitDemon
a1ac4d43d5 wowp 2024-01-08 12:48:00 -07:00
ExploitDemon
c93f0d969b fixed linting.yml 2024-01-08 12:45:49 -07:00
ExploitDemon
dc84c5bd9d ruff reformat 2024-01-08 12:40:56 -07:00
ExploitDemon
6f94e51b8d removed double underscores and make sure os.makedirs is preserved. log_to_file makes a file handler for each log message. Updated gitignore 2024-01-08 12:37:10 -07:00
ExploitDemon
a4bbe9912f removed double underscores and make sure os.makedirs is preserved. log_to_file makes a file handler for each log message 2024-01-08 12:36:15 -07:00
ExploitDemon
855bf47e0b removed double underscores and make sure os.makedirs is preserved. log_to_file makes a file handler for each log message 2024-01-08 12:30:52 -07:00
James Eginton
c17fdac4e7
Merge pull request #40 from allthingslinux/LoggerRefactor
[Refactor] _tux_logger.py
2024-01-08 12:31:05 -05:00
kaizen
397f0abeba [Refactor] _tux_logger.py 2024-01-03 09:00:24 -05:00
kzndotsh
ffe05c0cd3
Merge pull request #39 from allthingslinux/automated/package-updates-1704221467
Update Python packages
2024-01-03 08:05:13 -05:00
kzndotsh
d8c43516b6
Merge pull request #38 from allthingslinux/BaseEvents
Initial event base branch commit
2024-01-03 08:00:53 -05:00
kzndotsh
ad219c85bf Update Python packages 2024-01-02 18:51:06 +00:00