From 6a11ddc98a41dd1cc6414a0fe979830ee60c5ea9 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Tue, 5 Oct 2021 18:42:42 -0400 Subject: [PATCH] slack: tidy mods --- go.mod | 1 - go.sum | 2 -- main.go | 3 --- 3 files changed, 6 deletions(-) diff --git a/go.mod b/go.mod index df63a10..692b0e8 100644 --- a/go.mod +++ b/go.mod @@ -58,7 +58,6 @@ require ( github.com/trubitsyn/go-zero-width v1.0.1 github.com/ttacon/builder v0.0.0-20170518171403-c099f663e1c2 // indirect github.com/ttacon/libphonenumber v1.1.0 // indirect - github.com/velour/chat v0.0.0-20180713122344-fd1d1606cb89 github.com/velour/velour v0.0.0-20160303155839-8e090e68d158 golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529 golang.org/x/exp v0.0.0-20191014171548-69215a2ee97e // indirect diff --git a/go.sum b/go.sum index f1d8274..4b47c0d 100644 --- a/go.sum +++ b/go.sum @@ -148,8 +148,6 @@ github.com/ttacon/builder v0.0.0-20170518171403-c099f663e1c2 h1:5u+EJUQiosu3JFX0 github.com/ttacon/builder v0.0.0-20170518171403-c099f663e1c2/go.mod h1:4kyMkleCiLkgY6z8gK5BkI01ChBtxR0ro3I1ZDcGM3w= github.com/ttacon/libphonenumber v1.1.0 h1:tC6kE4t8UI4OqQVQjW5q8gSWhG2wnY5moEpSEORdYm4= github.com/ttacon/libphonenumber v1.1.0/go.mod h1:E0TpmdVMq5dyVlQ7oenAkhsLu86OkUl+yR4OAxyEg/M= -github.com/velour/chat v0.0.0-20180713122344-fd1d1606cb89 h1:3D3M900hEBJJAqyKl70QuRHi5weX9+ptlQI1v+FNcQ8= -github.com/velour/chat v0.0.0-20180713122344-fd1d1606cb89/go.mod h1:ejwOYCjnDMyO5LXFXRARQJGBZ6xQJZ3rgAHE5drSuMM= github.com/velour/velour v0.0.0-20160303155839-8e090e68d158 h1:p3rTUXxzuKsBOsHlkly7+rj9wagFBKeIsCDKkDII9sw= github.com/velour/velour v0.0.0-20160303155839-8e090e68d158/go.mod h1:Ojy3BTOiOTwpHpw7/HNi+TVTFppao191PQs+Qc3sqpE= github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= diff --git a/main.go b/main.go index 750ec98..b3e25d9 100644 --- a/main.go +++ b/main.go @@ -31,7 +31,6 @@ import ( "github.com/velour/catbase/bot" "github.com/velour/catbase/config" "github.com/velour/catbase/connectors/irc" - "github.com/velour/catbase/connectors/slack" "github.com/velour/catbase/connectors/slackapp" "github.com/velour/catbase/plugins/admin" "github.com/velour/catbase/plugins/babbler" @@ -109,8 +108,6 @@ func main() { switch c.Get("type", "slackapp") { case "irc": client = irc.New(c) - case "slack": - client = slack.New(c) case "slackapp": client = slackapp.New(c) case "discord":