From ce6902f0dd458021bbcb21c0018071b901b1454f Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Sun, 3 Apr 2022 13:41:19 -0600 Subject: [PATCH] remove unused stuff --- plugins/ban.go | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/plugins/ban.go b/plugins/ban.go index 8f5ec8c..977564d 100644 --- a/plugins/ban.go +++ b/plugins/ban.go @@ -2,7 +2,6 @@ package plugins import ( "fmt" - "math/rand" "regexp" "strings" "time" @@ -35,15 +34,7 @@ func (h *Ban) SetStore(_ PluginStore) {} // Process does the heavy lifting func (h *Ban) Process(from, msg string) string { - a := []string{ - "omm nom nom nom", - "*puke*", - "MOAR!", - "=.=", - } - - rand.Seed(time.Now().Unix()) - return a[rand.Intn(len(a))] + return "" } // RespondText to botsnack events