Skip to content
Alvin Lazaro edited this page Aug 22, 2014 · 2 revisions

Installing plugins

To install plugins you will need to specify which plugins you wish to load inside the config.json file inside a plugins array. You will then need to install the plugin via NPM or the plugin maintainers method. You can also disable plugins by adding their name to an array called disabledPlugins inside the same config.json file

Example plugin install

The following example will install Stem Admin Commands and Stem Friends

  1. $ npm install git://github.com/alvinlz/stem-admin-commands.git git://github.com/alvinlz/stem-friends.git
  2. Add the names of the plugins to the plugins array inside config.json
{

  "plugins": ["stem-admin-commands", "stem-friends"]

}

Start the bot and you should see that the 2 plugins have been loaded successfully. The bot will auto accept all friends requests and you should have access to the help command.

Clone this wiki locally