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:
parent
de61fd912d
commit
3312c66515
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue