fix: minor mistakes
continuous-integration/drone/push Build is passing Details

This commit is contained in:
an 2019-11-28 08:44:47 +01:00
parent b4efabd76f
commit e1649ae12e
1 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@ package modules
import (
"fmt"
"math/rand"
"strings"
"time"
)
@ -149,6 +150,6 @@ func esoHandleMessage(m *Message) {
return
}
if tok[0] == "!eso" {
SayCh <- fmt.Sprintf("%s%s%s%s%s\n", ohai[rand.Intn(len(ohai))], buty[rand.Intn(len(buty))], wat[rand.Intn(len(wat))], dointings[rand.Intn(len(dointings))], todotings[rand.Intn(len(todotings))], m.Channel, line)
SayCh <- fmt.Sprintf("%s\n%s %s %s %s %s", m.Channel, ohai[rand.Intn(len(ohai))], buty[rand.Intn(len(buty))], wat[rand.Intn(len(wat))], dointings[rand.Intn(len(dointings))], todotings[rand.Intn(len(todotings))])
}
}