├── 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.
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.
discord bot, mysql, config.json, .env
once your paper all the file needed to start this project, it just need to run node index.js in the root path.
same env with local test
same with local test