npm i
git clone https://github.com/TheLeerName/db-module-core
- Open created
db-module-core
folder - Open terminal in
db-module-core
folder - Choose modules which you want to use:
Name | Link |
---|---|
modules/twitch-notifications |
https://github.com/TheLeerName/db-module-twitch-notifications |
- Run this command with each module you want:
git submodule update --init <module_name>
- Now compile with command:
Important
if you removing/adding modules, make sure to remove dist
folder before doing this
npm run build
- Open terminal
- Run
node index.js
- Change parameters in generated
config.ini
- Start bot again with
node index.js
Question | Answer |
---|---|
How to remove module? | Remove folder of module in modules folder |
How to add specific module? (for example: modules/twitch-notifications ) |
Run command: git submodule update --init modules/twitch-notifications |
Important
make sure to remove dist
folder after adding/removing modules