]> git.cworth.org Git - turbot/blobdiff - turbot/channel.py
Farm blocks-creation code out to various supporting files
[turbot] / turbot / channel.py
diff --git a/turbot/channel.py b/turbot/channel.py
new file mode 100644 (file)
index 0000000..1c9d412
--- /dev/null
@@ -0,0 +1,4 @@
+def channel_url(channel_id):
+    """Given a channel ID, return the URL for that channel."""
+
+    return "https://halibutthatbass.slack.com/archives/{}".format(channel_id)