Hello there! Thank you for considering contributing to the Utility Bot project, part of the NestJS-Discord organization. We're thrilled to have you here!
- Fork the repository
- Clone the repository to your local machine
- Install dependencies using
make install
- Make your changes
- Run tests and ensure they pass with
go test -v ./...
- Ensure Markdown content in the configuration have proper length with
go run . validate:content
- Push your changes to your fork
- Create a pull request
We welcome all contributions, including bug reports, feature requests, and code improvements. So let's build something great together!
Happy coding! 馃殌
# go run . discord:run --debug
make run
To build this project, you must install Golang in your system and execute the following command.
make install
make build
- Slash commands
- Discord will sort commands alphabetically, regardless of their initial order in the
config.yml
file. - Users will instantly see commands once registered because this project uses guild commands instead of global ones.
- Discord has a global rate limit of 200 application command creations per day, per guild.
- The bot will automatically register slash commands on startup.
- Registered commands can be removed by the
discord:clean
CLI command. - Only one sub-command level is supported; for example,
/foo bar
is valid.
- Discord will sort commands alphabetically, regardless of their initial order in the
- Markdown content
- The content of each file can be up to 2000 characters.
- The bot caches the content after execution (restarting is required to apply the changes).
- Moderators
- They can be defined by their unique Discord ID in the
config.yml
file. - They bypass rate-limit policies.
- They can execute
protected
commands in theconfig.yml
file.
- They can be defined by their unique Discord ID in the