remove unused stuff
This commit is contained in:
parent
049e748c0d
commit
ce6902f0dd
@ -2,7 +2,6 @@ package plugins
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"math/rand"
|
|
||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
@ -35,15 +34,7 @@ func (h *Ban) SetStore(_ PluginStore) {}
|
|||||||
|
|
||||||
// Process does the heavy lifting
|
// Process does the heavy lifting
|
||||||
func (h *Ban) Process(from, msg string) string {
|
func (h *Ban) Process(from, msg string) string {
|
||||||
a := []string{
|
return ""
|
||||||
"omm nom nom nom",
|
|
||||||
"*puke*",
|
|
||||||
"MOAR!",
|
|
||||||
"=.=",
|
|
||||||
}
|
|
||||||
|
|
||||||
rand.Seed(time.Now().Unix())
|
|
||||||
return a[rand.Intn(len(a))]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// RespondText to botsnack events
|
// RespondText to botsnack events
|
||||||
|
Loading…
Reference in New Issue
Block a user