Update README.md

This commit is contained in:
James Booth
2016-07-19 01:14:40 +01:00
committed by GitHub
parent 77c2eb0f56
commit b8a19f3cff

View File

@@ -63,7 +63,7 @@ Use the `/plugins install` command, e.g.
/plugins install ~/projects-git/profanity-plugins/say.py
```
See the `/help plugins` command for further plugin management commands.
See the `/help plugins` command for further plugin management options.
More help on plugins
--------------------
@@ -89,6 +89,23 @@ command=cyan
result=green
```
Plugin settings
---------------
The plugins API also includes functions to read and write settings. The settings are stored in:
```
~/.local/share/profanity/plugin_settings
```
For example ([say.py](https://github.com/boothj5/profanity-plugins/blob/master/say.py) plugin):
```
[say]
args=-v english -s 120
enabled=off
```
Example plugin code
-------------------