mods: start work on memegen

This commit is contained in:
Hamcha 2016-02-15 16:52:25 +00:00
parent f0d265f374
commit 4ce8113afc
2 changed files with 15 additions and 0 deletions

View File

@ -2,6 +2,7 @@ all: clessy-broker clessy-mods clessy-stats
deps:
go get github.com/boltdb/bolt/...
go get github.com/golang/freetype
install-tg:
go install github.com/hamcha/clessy/tg

14
mods/memegen.go Normal file
View File

@ -0,0 +1,14 @@
package main
import (
"strings"
"github.com/hamcha/clessy/tg"
)
func memegen(broker *tg.Broker, update tg.APIMessage) {
if update.Caption != nil {
if strings.HasPrefix(*(update.Caption), "/meme") {
}
}
}