aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-06-23 12:02:50 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2023-06-23 12:28:21 +0200
commit3a9cc2586a0c483f1c525283424d37d5e62305ce (patch)
tree3ad6a65e4f67ada21ac5bd939377728448bf953a
parent673902e474288d22f4bced9f32b21f47a80b0a52 (diff)
downloadwee-slack-3a9cc2586a0c483f1c525283424d37d5e62305ce.tar.gz
Note that slack_api_token is evaluated in description
-rw-r--r--docs/Options.md2
-rw-r--r--wee_slack.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/Options.md b/docs/Options.md
index a57974a..ba8f4e4 100644
--- a/docs/Options.md
+++ b/docs/Options.md
@@ -230,7 +230,7 @@ slack` after changing it to take effect.
**Default:** `INSERT VALID KEY HERE!`
-**Description:** List of Slack API tokens, one per Slack instance you want to connect to. See the README for details on how to get these.
+**Description:** List of Slack API tokens, one per Slack instance you want to connect to; see the README for details on how to get these (note: content is evaluated, see /help eval).
### slack_timeout
diff --git a/wee_slack.py b/wee_slack.py
index 1d18126..79e2dba 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -6658,7 +6658,8 @@ class PluginConfig(object):
"slack_api_token": Setting(
default="INSERT VALID KEY HERE!",
desc="List of Slack API tokens, one per Slack instance you want to"
- " connect to. See the README for details on how to get these.",
+ " connect to; see the README for details on how to get these"
+ " (note: content is evaluated, see /help eval).",
),
"slack_timeout": Setting(
default="20000", desc="How long (ms) to wait when communicating with Slack."