From de1d6731ad5ee4c1345c456fe36882fcf2595218 Mon Sep 17 00:00:00 2001 From: Matthew Faltys Date: Mon, 11 Sep 2017 13:44:30 -0500 Subject: [PATCH] Fix debugging method --- lorebot/lorebot.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lorebot/lorebot.go b/lorebot/lorebot.go index 376e20a..c36336a 100644 --- a/lorebot/lorebot.go +++ b/lorebot/lorebot.go @@ -241,8 +241,7 @@ func advancedhelpmsg(rtm *slack.RTM, ev *slack.MessageEvent) { func contenthandler(rtm *slack.RTM, ev *slack.MessageEvent, message, queryType string, redisClient *redis.Client) { loreTerm := strings.Replace(message, ".lore", "", -1) - println("searching for:", loreTerm) - //rtm.SendMessage(rtm.NewOutgoingMessage(fmt.Sprintf("searching for '%s'\n", loreTerm), ev.Channel)) + glogger.Debug.Printf("searching for: %s\n", loreTerm) content, err := loreCheck(loreTerm, queryType, redisClient) if err == nil {