1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2025-07-12 16:25:37 +00:00

Bot: Fixed compile error

This commit is contained in:
diamondburned 2020-02-21 07:57:35 -08:00
parent 587d36fd6c
commit 00c1e5c43c

View file

@ -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)
}