TopCodeBeast / Moonbase-Bot-backend

Repository from Github https://github.comTopCodeBeast/Moonbase-Bot-backendRepository from Github https://github.comTopCodeBeast/Moonbase-Bot-backend

Nepbot backend

Detail of the project

├── commands every commands of bot will store in this folder.
├── conf the config file will load from this folder.
├── controller api folder.
├── events every events of discord bot will access this folder to monitor those activity.
├── logs store log file.
├── pkg including the object (etc. user_info, user_fields), modules like db driver(mysql, postgrl), other tools
├── schedule_tasks all of the time task
├── service three services. bot, app, schedule_tasks
├── .env secret information.
├── index.js main class
└── deploy-commands.js deploy commands. Commonly used for test or develop a new command.

Note

If you need to execute this project, the near_net.json in conf and .env file in root path is needed, there is a sample file in the currently folder. Don't forget to rename the both file by deleting _sample. more information please contact with the manager.

Local debug

the environment

discord bot, mysql, config.json, .env

method

once your paper all the file needed to start this project, it just need to run node index.js in the root path.

product running

the environment

same env with local test

method

same with local test

About


Languages

Language:JavaScript 100.0%