feat(mypy.ini): add new mypy.ini file for better type checking configuration
fix(schema.prisma): make created_at field in Users model nullable to handle users without creation time
feat(schema.prisma): add color field to Roles model to store role's color information
refactor(pyproject.toml): rearrange linting configuration for better readability and remove redundant mypy configuration
build(.pre-commit-config.yaml): update ruff-pre-commit version to v0.3.5
refactor(tux/cogs/utility/guide.py): remove guild banner from server guide embed
refactor(tux/cogs/utility/ping.py): use EmbedCreator for creating embeds
refactor(tux/utils/constants.py): reorganize and add new constants for embeds and interactions
feat(tux/utils/embeds.py): add new EmbedCreator class for creating standardized embeds
refactor(tux/utils/embedbuilder.py): remove unused embedbuilder file
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.