ritalobot

command module
v0.0.0-...-fc3541e Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2016 License: MIT Imports: 15 Imported by: 0

README

ritalobot Alt text

telegram bot written in golang which uses Markov Chain stored in redis

Installation

you need golang >= 1.3 and redis installed on your machine.
go get github.com/blackdev1l/ritalobot

Usage

flags
flag | default | help
-c="./config.yml": path for ritalobot config
-conn="tcp": type of connection and/or ip of redis database
-p=6379: port number of redis database
-token="": authentication token for the telegram bot
config file

create a config.yml or rename example.yml editing the variables. make sure to have redis-server started.

TODO

  • Flags
  • yaml config
  • increase / decrease chance from command
  • better Markov chain
  • command to start or stop bot

works on my machine

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