# Slack: Post chat snapshot to Discourse

**URL:** <https://meta.discourse.org/t/slack-post-chat-snapshot-to-discourse/51085>\
**Category:** Feature\
**Created:** [2016 年10 月 4 日 17:22 UTC](https://meta.discourse.org/t/slack-post-chat-snapshot-to-discourse/51085 "2016-10-04T17:22:51Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)\
发布日期： [2016 年10 月 4 日 17:22 UTC](https://meta.discourse.org/t/slack-post-chat-snapshot-to-discourse/51085/1 "2016-10-04T17:22:51Z")

</div>

Continuation of [GitHub - discourse/discourse-slack-official: DEPRECATED: Official Slack integration for Discourse · GitHub](https://github.com/discourse/discourse-slack-official)

### Summary

Take a snapshot of a discussion in Slack and post it as a topic in Discourse. The output should be a cleanly formatted chat transcript. The average snapshot would be between 5-100 messages long. Also see [“Wisemonk - a Slack bot to move discussions from Slack to Discourse”](https://medium.dgraph.io/wisemonk-a-slackbot-to-move-discussions-from-slack-to-discourse-22a53ddce78f).

_Use Discourse as your “long term memory” for Slack conversations worth remembering._

### Core functionality

1. Type a command like `/topic last:50 category:staff` in Slack.
2. @system (or other designated user) create a new topic in the #staff category. This topic will contain your 50 last Slack messages (in plaintext or minimal Markdown).

### Stretch goals

- Set custom timegap for the snapshot: `from:15:35-16:10` (might be tricky due to timezone differences)
- Ignore messages from selected users in snapshot: `ignore:bob,sara`
- Post as the user who issues the command via Slack
- Open pre-filled topic in browser instead of posting directly
- A graphical interface for posting snapshots. Might be possible to do something using [Slack Buttons](https://api.slack.com/docs/message-buttons).

---

_[View the full topic](https://meta.discourse.org/t/slack-post-chat-snapshot-to-discourse/51085)._
