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()