From 128c9294a1c4d2627d699d8ab7623730357a6b03 Mon Sep 17 00:00:00 2001 From: Matthew Faltys Date: Thu, 28 Mar 2019 16:08:47 -0500 Subject: [PATCH] Remove slack debug to reflect upstream slack API changes --- lorebot/lorebot.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lorebot/lorebot.go b/lorebot/lorebot.go index 292a676..a869236 100644 --- a/lorebot/lorebot.go +++ b/lorebot/lorebot.go @@ -5,13 +5,11 @@ import ( "fmt" "io" "io/ioutil" - "log" "math/rand" "mime/multipart" "net/http" "net/textproto" "os" - //"regexp" "strconv" "strings" "time" @@ -67,13 +65,6 @@ func main() { api := slack.New(auth) - // enable slack debug if set - if config.Lorebot.SlackDebug { - logger := log.New(os.Stdout, "slack-bot: ", log.Lshortfile|log.LstdFlags) - slack.SetLogger(logger) - api.SetDebug(true) - } - rtm := api.NewRTM() go rtm.ManageConnection()