forked from an/flokati
fix: minor mistakes
This commit is contained in:
parent
b4efabd76f
commit
e1649ae12e
|
@ -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))])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue