The nocontext slackbot you've been waiting for.
Type @echobot <NAME>
and echobot will repeat several random phrases that person has said on Slack in the past.
-
Get an API token from Slack.
-
Create a bot user on your Slack group -- see link here.
-
Get the
nlopes/slack
packagego get github.com/nlopes/slack
-
Just run
go run echobot.go
. Enjoy!
It will also download as JSON the following data:
- All the channels within the group
- All user IDs within the group
- All Slack channel IDs