fix: minor mistakes

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 ( import (
"fmt" "fmt"
"math/rand" "math/rand"
"strings"
"time" "time"
) )
@ -149,6 +150,6 @@ func esoHandleMessage(m *Message) {
return return
} }
if tok[0] == "!eso" { 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))])
} }
} }