f5948621f0b305eda207959d220373bbbf4abe8c
ButlerBotNG
Installation
$ npm install
Usage
- Create
.env(seeexample.env) and populate with all necessary details. - Register slash commands.
$ npm run register-slash-commands
- Run ButlerBot.
$ npm run start
Development
All commands are dynamically loaded at runtime, and are stored in src/commands/[CATEGORY]/[NAME].js.
To add a new command, just create a new .js file. It must export a data object and execute promise. See existing commands for an example.
Remember to re-register slash commands using npm run register-slash-commands if adding a new command, or modifying an existing command's parameters.
Description
Languages
TypeScript
87.5%
JavaScript
6.9%
Shell
4.2%
Dockerfile
1.4%