Cofi-Bot is a multifunctional chat bot for management and entertainment on Discord channels.
Play music, manage channels with a large number of users, establish rules for each channel, entertainment commands and more features.
npm install
npm run build
npm run start
npm run test
Test for services
npm run test-services
Test for API-endpoints
npm run test-api
npm run format
To develop locally, a previous configuration must be carried out. The first obviously is to clone the repository. The next point is to create a ".env" file with the following structure:
TOKEN=Add bot token here
API_TOKEN=Api token
PREFIX=Prefix (For example: !, -, ., <, ...)
To get a bot token you need to create a new application on the Discord developer portal. The api token is something that is still in development and is intended to be replaced by JWT, for the moment a secret word / code is used to suit the user. And finally, the prefix is by which the bot will take into account that what is written to it is a command for it, by default it is "!", But it can be modified.
👤 Victor Santaella
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
You can also contribute translations of the command feedback to include them in i18n.
Give a ⭐️ if this project helped you!
Copyright © 2021 Victor Santaella.
This project is MIT licensed.