From 00c1e5c43c872244efac7da511ed4e070e10507a Mon Sep 17 00:00:00 2001 From: diamondburned Date: Fri, 21 Feb 2020 07:57:35 -0800 Subject: [PATCH] Bot: Fixed compile error --- bot/ctx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/ctx.go b/bot/ctx.go index 0e399ba..ec33f77 100644 --- a/bot/ctx.go +++ b/bot/ctx.go @@ -100,7 +100,7 @@ func Start(token string, cmd interface{}, return nil, errors.Wrap(err, "Failed to create rfrouter") } - s.ErrorLog = func(err error) { + s.Gateway.ErrorLog = func(err error) { c.ErrorLogger(err) }