mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-10-31 20:14:21 +00:00
gateway: Add Event = ws.Event
This commit is contained in:
parent
a4611b7ab4
commit
82c2b9e840
|
@ -10,6 +10,10 @@ import (
|
||||||
|
|
||||||
//go:generate go run ../utils/cmd/genevent -o event_methods.go
|
//go:generate go run ../utils/cmd/genevent -o event_methods.go
|
||||||
|
|
||||||
|
// Event is a type alias for ws.Event. It exists for convenience and describes
|
||||||
|
// the same event as any other ws.Event.
|
||||||
|
type Event ws.Event
|
||||||
|
|
||||||
// Rule: VOICE_STATE_UPDATE -> VoiceStateUpdateEvent.
|
// Rule: VOICE_STATE_UPDATE -> VoiceStateUpdateEvent.
|
||||||
// Ready is too big, so it's moved to ready.go.
|
// Ready is too big, so it's moved to ready.go.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue