aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorV13Axel <alex@stechstudio.com>2019-02-14 13:22:05 -0500
committerTrygve Aaberge <trygveaa@gmail.com>2019-02-15 00:18:06 +0100
commitc15bc7c17d0a70e3bd0b3480a6cc83af16f617b3 (patch)
tree254efa79715dd8e06adf2005e74178d2e81343c9
parentc70d23c95d4e21be788721fa248b323497aa90c4 (diff)
downloadwee-slack-c15bc7c17d0a70e3bd0b3480a6cc83af16f617b3.tar.gz
Fix 'slackbot' name change to 'Slackbot' breaking never_away
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index e03719e..2504da3 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -828,7 +828,7 @@ def typing_update_cb(data, remaining_calls):
def slack_never_away_cb(data, remaining_calls):
if config.never_away:
for t in EVENTROUTER.teams.values():
- slackbot = t.get_channel_map()['slackbot']
+ slackbot = t.get_channel_map()['Slackbot']
channel = t.channels[slackbot]
request = {"type": "typing", "channel": channel.identifier}
channel.team.send_to_websocket(request, expect_reply=False)