forked from an/flokati
Merge branch 'master' of git.dnix.de:an/flokati
This commit is contained in:
commit
1cdd60d39e
|
@ -39,7 +39,9 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func markovHandleMessage(m *Message) {
|
func markovHandleMessage(m *Message) {
|
||||||
|
if strings.HasPrefix(m.Text, "!") {
|
||||||
|
return
|
||||||
|
}
|
||||||
tok := strings.Split(m.Text, " ")
|
tok := strings.Split(m.Text, " ")
|
||||||
if tok[0] == "!talk" {
|
if tok[0] == "!talk" {
|
||||||
if len(tok) < 2 {
|
if len(tok) < 2 {
|
||||||
|
|
Loading…
Reference in New Issue