Update 'ircbot.go'

This commit is contained in:
Dillinger 2021-10-25 21:55:25 +00:00
parent 6f4a474f0f
commit 15ba079620

@ -285,14 +285,14 @@ func ircbot() {
case ".smokin":
if !contains(smokin,Sender) {
fmt.Println("[IRC][smokin] New smoker! " + Sender)
drinkin = append(smokin, Sender)
smokin = append(smokin, Sender)
} else {
fmt.Println("[IRC][smokin] Existing smoker " + Sender)
smokyBoys = strings.Join(smokin, " ")
smokyBoys = strings.Replace(smokyBoys, "nil", "", -1)
smokyBoys = strings.Replace(smokyBoys, " ", "", -1)
Phone(c, Sender + " smokes another bowl ;P")
Phone(c, " 🍺 ------> " + smokyBoys)
Phone(c, " 🔥 ------> " + smokyBoys)
return
}
ircSmokin(c)