diff options
author | John Anderson <sontek@gmail.com> | 2014-11-04 13:50:22 -0800 |
---|---|---|
committer | John Anderson <sontek@gmail.com> | 2014-11-04 13:50:22 -0800 |
commit | 0f4957a56942f60abab35834ac90c8db526717b9 (patch) | |
tree | 5b669ac1df5f52d66beef1d2dd33d5c4f828aa39 /README.md | |
parent | 105358e87310dd5b23e53a26208d708584dd421e (diff) | |
download | wee-slack-0f4957a56942f60abab35834ac90c8db526717b9.tar.gz |
Add the ability to use ${sec.data.slack_token} for configuration
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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) ``` |