Skip to content

TheLeerName/db-module-core

Repository files navigation

Core of my Discord Bot Modules

How to run?

  1. Install git-scm
  2. Install node.js
  3. Open terminal
npm i
git clone https://github.com/TheLeerName/db-module-core
  1. Open created db-module-core folder
  2. Open terminal in db-module-core folder
  3. Choose modules which you want to use:
Name Link
modules/twitch-notifications https://github.com/TheLeerName/db-module-twitch-notifications
  1. Run this command with each module you want:
git submodule update --init <module_name>
  1. Now compile with command:

Important

if you removing/adding modules, make sure to remove dist folder before doing this

npm run build
  1. Open terminal
  2. Run node index.js
  3. Change parameters in generated config.ini
  4. Start bot again with node index.js

Q/A

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

About

Core of my Discord Bot Modules

Resources

Stars

Watchers

Forks