Cofi-Dev / Cofi-Bot

🤖 Cofi-Bot is a multifunction chat bot for Discord.
MIT License
6 stars 1 forks source link
bot discord hacktoberfest lifestyle-solutions moderation-bot workflow

🤖 Cofi-Bot 🤖

Build Version Documentation Maintenance License: MIT

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.

🏠 Homepage

Prerequisites

Install

npm install

Compile

npm run build

Usage

npm run start

Run tests

npm run test

Test for services

npm run test-services

Test for API-endpoints

npm run test-api

Run Prettier

npm run format

Develop mode

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.

Author

👤 Victor Santaella

🤝 Contributing

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.

Show your support

Give a ⭐️ if this project helped you!

Buy Me A Coffee

📝 License

Copyright © 2021 Victor Santaella.
This project is MIT licensed.