-
Notifications
You must be signed in to change notification settings - Fork 2
Installing plugins
Alvin Lazaro edited this page Aug 22, 2014
·
2 revisions
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
The following example will install Stem Admin Commands and Stem Friends
$ npm install git://github.com/alvinlz/stem-admin-commands.git git://github.com/alvinlz/stem-friends.git
- Add the names of the plugins to the
plugins
array insideconfig.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.