slack-markov

command module
v0.0.0-...-586f2a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2020 License: MIT Imports: 15 Imported by: 0

README

slack-markov

A markov chain bot for Slack written in Go (golang)

Build Status

Usage

  • Build the code with go build

  • Start the bot with ./slack-markov on an internet-accessible server. (Check the output of ./slack-markov -h for configuration options)

  • Configure an Outgoing Webhook in your Slack and point it to the place where your bot is running. For example: http://example.com:8000/

  • The bot will listen to incoming requests and add the messages to the chain. At a configurable response rate, it will also build and send a response to the channel

Tips

  • Export your team's data from https://my.slack.com/services/export, and use that to seed the chain. See the -importDir and -importChan options.
  • Keep your bot scoped to one channel.
  • Adjust the -responseChance option based on your team's activity and how much you want to annoy your co-workers
  • Look into the -twitter* options if you enjoy Twitter and libel

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL