mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-12-01 00:29:49 +00:00
Voice: Made EventLoop a valid struct value instead of nil pointer
This commit is contained in:
parent
de61fd912d
commit
3312c66515
|
|
@ -56,7 +56,7 @@ type Gateway struct {
|
||||||
Timeout time.Duration
|
Timeout time.Duration
|
||||||
reconnect moreatomic.Bool
|
reconnect moreatomic.Bool
|
||||||
|
|
||||||
EventLoop *wsutil.PacemakerLoop
|
EventLoop wsutil.PacemakerLoop
|
||||||
|
|
||||||
// ErrorLog will be called when an error occurs (defaults to log.Println)
|
// ErrorLog will be called when an error occurs (defaults to log.Println)
|
||||||
ErrorLog func(err error)
|
ErrorLog func(err error)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue