markov.go: missing bracket
continuous-integration/drone/push Build is passing Details

This commit is contained in:
an 2019-08-27 22:31:16 +02:00
parent 140f9ed5bc
commit e494c19468
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ func markovHandleMessage(m *Message) {
} else {
talk := tok[1]
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)
SayCh <- m.Channel + "\n" + talk
if rand.Intn(100) < 10 {