A Slack bot to provide easy access to pinned items inline in the chat.
Groups used to the hangupsbot built-in /bot tldr
may find this
an useful tool to ease transition to Slack.
- Download the installation archive from the releases tab.
- Untar:
tar xvfz slack-tldr.linux.amd64.tgz
- Create a Slack bot and copy the token.
- Run it:
./slack-tldr -token 'YOURSLACKTOKEN'
- Optional: use slack-tldr.service to keep it running under systemd
Invite the bot to the channels you want it to be active in. Since it stores items with pins in the channel, each channel has a separate list.
If you just want to see the current pins, +tldr
will trigger the
bot to display them.
You can create a new pin with +tldr Important thing to remember
.
You can delete a pinned item by getting the list from +tldr
and
then +tldr remove 2
where 2 is the number you want to delete.
If you'd rather use something other than +tldr
as the command
string, the -command
flag will allow you to change it.