aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJohn Anderson <sontek@gmail.com>2014-11-04 13:50:22 -0800
committerJohn Anderson <sontek@gmail.com>2014-11-04 13:50:22 -0800
commit0f4957a56942f60abab35834ac90c8db526717b9 (patch)
tree5b669ac1df5f52d66beef1d2dd33d5c4f828aa39 /README.md
parent105358e87310dd5b23e53a26208d708584dd421e (diff)
downloadwee-slack-0f4957a56942f60abab35834ac90c8db526717b9.tar.gz
Add the ability to use ${sec.data.slack_token} for configuration
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8f165d0..bacb66d 100644
--- a/README.md
+++ b/README.md
@@ -73,6 +73,15 @@ weechat
/set plugins.var.python.slack_extension.slack_api_token (YOUR_SLACK_TOKEN)
```
^^ (find this at https://api.slack.com/#auth)
+
+If you don't want to store your API token in plaintext you can use the secure features of weechat:
+
+```
+/secure passphrase this is a super secret password
+/secure set slack_token (YOUR_SLACK_TOKEN)
+/set plugins.var.python.slack_extension.slack_api_token ${sec.data.slack_token}
+```
+
##### Optional: If you would like to connect to multiple groups, use the above command with multiple tokens separated by commas. (NO SPACES)
```