From e1649ae12eebd59d2db14a4f8786beb5fcb4e0f8 Mon Sep 17 00:00:00 2001 From: an Date: Thu, 28 Nov 2019 08:44:47 +0100 Subject: [PATCH] fix: minor mistakes --- modules/eso.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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))]) } }