From f6d1f6d6073889eaecc83eeeb22b0600d09af028 Mon Sep 17 00:00:00 2001 From: Matthew Faltys Date: Thu, 31 Oct 2019 13:31:21 +0000 Subject: [PATCH] Update slack API to work with newest update --- Makefile | 3 ++- lorebot/lorebot.go | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 774adb7..ecf4374 100644 --- a/Makefile +++ b/Makefile @@ -6,10 +6,11 @@ IMAGE_NAME=smpldbot all: lorebot depends: - go get github.com/nlopes/slack + go get github.com/unixvoid/slack go get github.com/unixvoid/glogger go get gopkg.in/gcfg.v1 go get gopkg.in/redis.v5 + #go get github.com/nlopes/slack lorebot: $(GOC) lorebot/lorebot.go diff --git a/lorebot/lorebot.go b/lorebot/lorebot.go index 1f16233..0b41315 100644 --- a/lorebot/lorebot.go +++ b/lorebot/lorebot.go @@ -15,8 +15,9 @@ import ( "strings" "time" - "github.com/nlopes/slack" + //"github.com/nlopes/slack" "github.com/unixvoid/glogger" + "github.com/unixvoid/slack" "gopkg.in/gcfg.v1" "gopkg.in/redis.v5" )