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

gateway: Add Event = ws.Event

This commit is contained in:
diamondburned 2021-12-25 15:17:20 -08:00
parent a4611b7ab4
commit 82c2b9e840
No known key found for this signature in database
GPG key ID: D78C4471CE776659

View file

@ -10,6 +10,10 @@ import (
//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.
// Ready is too big, so it's moved to ready.go.