Commit 9146df8
committed
refactor: improve category and channel management in template application
- Enhanced the process of applying templates by collecting and sorting categories before creating or updating them.
- Improved error handling and logging for category and channel creation, ensuring better feedback on operations.
- Updated channel management to reflect changes in YAML order, including position adjustments for existing channels.
- Streamlined the handling of extra channels and categories not present in the template, providing clearer warnings and options for users.
- Refactored helper functions to support new parameters for category and channel positioning, improving overall code maintainability.1 parent 2e59c35 commit 9146df8
File tree
3 files changed
+266
-235
lines changed- src/gitcord
- cogs
- utils
3 files changed
+266
-235
lines changed
0 commit comments