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 {