feat(schema.prisma): add Starboard and StarboardMessage models for starboard feature
fix(schema.prisma): remove unnecessary comments and adjust model attributes for better data handling
feat(cases.py): change case_number to be dynamic instead of fixed format
feat(case.py): add functions to handle case count incrementation for better case tracking
- 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
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
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
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
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
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.
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
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