-
Notifications
You must be signed in to change notification settings - Fork 3
Plugins
Ricardo Arturo Cabral edited this page Apr 9, 2017
·
6 revisions
Clone the source code of the desired plugin (Plugin list)
Example:
$ git clone git@github.com:BotDevGroup/marvinbot_sample_plugin.git $ cd ./marvinbot_sample_pluginInstall the plugin into your virtualenv (virualenv is supposed to be installed in your marvin folder):
(venv)$ python3 setup.py developNavigate to the folder where you cloned marvin and edit settings.json and add marvinbot_sample_plugin to your plugins list.
Open a new command prompt and navigate to the folder where you cloned the plugin.
(venv) C:\...\marvinbot_sample_plugin> python setup.py develop
Navigate to the folder where you cloned marvin and edit settings.json and add marvinbot_sample_plugin to your plugins list.
Optionally, append some configuration to settings.json (some plugins require some configuration):
{
...
"plugin_configuration": {
"marvinbot_sample_plugin": {
"init_message": "O HAI"
}
}
...
}
Restart your marvinbot and talk to your bot :)
Now that you have successfully managed to run your bot, you may want to create a new plugin to add functionality.