1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-27 09:12:53 +00:00

Voice: Made EventLoop a valid struct value instead of nil pointer

This commit is contained in:
diamondburned 2020-08-19 21:32:25 -07:00
parent de61fd912d
commit 3312c66515

View file

@ -56,7 +56,7 @@ type Gateway struct {
Timeout time.Duration
reconnect moreatomic.Bool
EventLoop *wsutil.PacemakerLoop
EventLoop wsutil.PacemakerLoop
// ErrorLog will be called when an error occurs (defaults to log.Println)
ErrorLog func(err error)