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
1 changed files with 4 additions and 0 deletions

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.