We have adopted Conventional Commits as a ruleset for commit messages. In short, commit messages must be formatted using one the following prefixes:
build
– for changes made to the build systemchore
– for changes that do not change production codeci
– for changes made to Continuous Integration (CI) configurationdocs
– for updates made to the documentationfeat
– for newly introduced featuresfix
– for bug fixes and patchesimprovement
– for overall made improvementsperf
– for changes optimizing the overall performancerefactor
– for refactored code that does not change the public Discord botrevert
– for when reverting back to a previous commitstyle
– for code style changes (such as indentation)test
– for when adding tests or assertions
Examples:
feat: add ban command
refactor: remove unused var
You may also specify a scope. We strongly encourage you to use scopes, because it's an excellent way of determining what part of the codebase has been changed.
Example:
feat(ban): add ability to ban a specific member
- Go