Skip to content

Cofi-Dev/Cofi-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 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.

Prerequisites

  • npm >= 6.10.0
  • node >= 12.0.0

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.