diff --git a/modules/eso.go b/modules/eso.go index bcdc860..cd71634 100644 --- a/modules/eso.go +++ b/modules/eso.go @@ -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))]) } }