1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2025-01-10 05:56:57 +00:00

gateway: Run go generate for new event

This commit is contained in:
diamondburned 2024-01-06 19:13:59 -08:00
parent 3bbdae9bc1
commit ff26fded59
No known key found for this signature in database
GPG key ID: D78C4471CE776659

View file

@ -68,6 +68,7 @@ func init() {
func() ws.Event { return new(UserNoteUpdateEvent) },
func() ws.Event { return new(RelationshipAddEvent) },
func() ws.Event { return new(RelationshipRemoveEvent) },
func() ws.Event { return new(ConversationSummaryUpdateEvent) },
func() ws.Event { return new(ReadyEvent) },
func() ws.Event { return new(ReadySupplementalEvent) },
func() ws.Event { return new(GuildScheduledEventCreateEvent) },
@ -453,6 +454,12 @@ func (*RelationshipRemoveEvent) Op() ws.OpCode { return dispatchOp }
// EventType implements Event.
func (*RelationshipRemoveEvent) EventType() ws.EventType { return "RELATIONSHIP_REMOVE" }
// Op implements Event. It always returns 0.
func (*ConversationSummaryUpdateEvent) Op() ws.OpCode { return dispatchOp }
// EventType implements Event.
func (*ConversationSummaryUpdateEvent) EventType() ws.EventType { return "CONVERSATION_SUMMARY_UPDATE" }
// Op implements Event. It always returns 0.
func (*ReadyEvent) Op() ws.OpCode { return dispatchOp }