forked from an/flokati
markov.go: missing bracket
This commit is contained in:
parent
140f9ed5bc
commit
e494c19468
|
@ -47,7 +47,7 @@ func markovHandleMessage(m *Message) {
|
||||||
} else {
|
} else {
|
||||||
talk := tok[1]
|
talk := tok[1]
|
||||||
for {
|
for {
|
||||||
time.Sleep(time.Duration(rand.Intn(8)+2 * time.Second)
|
time.Sleep(time.Duration(rand.Intn(8)+2) * time.Second)
|
||||||
talk = markovChain.Generate(*markovAnswerLen, talk)
|
talk = markovChain.Generate(*markovAnswerLen, talk)
|
||||||
SayCh <- m.Channel + "\n" + talk
|
SayCh <- m.Channel + "\n" + talk
|
||||||
if rand.Intn(100) < 10 {
|
if rand.Intn(100) < 10 {
|
||||||
|
|
Loading…
Reference in New Issue