diff options
author | Ryan Huber <rhuber@gmail.com> | 2016-03-26 14:14:40 -0700 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2016-03-26 14:14:40 -0700 |
commit | 21d2d3460dba37924aea18305c81ae90ef5d2a70 (patch) | |
tree | ad2581f945129f473eeb692c4aac8a768ca3dcb1 | |
parent | b1770652b856407f76095e5a513631c340d5f072 (diff) | |
download | wee-slack-21d2d3460dba37924aea18305c81ae90ef5d2a70.tar.gz |
new channels have # prepended as they should have
-rw-r--r-- | wee_slack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py index 4a1d000..85065be 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1412,7 +1412,7 @@ def process_channel_created(message_json): server.channels.find(message_json["channel"]["name"]).open(False) else: item = message_json["channel"] - server.add_channel(Channel(server, item["name"], item["id"], False)) + server.add_channel(Channel(server, item["name"], item["id"], False, prepend_name="#")) server.buffer_prnt("New channel created: {}".format(item["name"])) |