Skip to content

Commit

Permalink
fix incorrect return in integration_update_handler
Browse files Browse the repository at this point in the history
  • Loading branch information
caneleex committed Jun 14, 2022
1 parent d040af9 commit 9f75fcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/integration_update_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func (h *gatewayHandlerIntegrationUpdate) EventType() discord.GatewayEventType {
}

func (h *gatewayHandlerIntegrationUpdate) New() any {
return &discord.GatewayEventIntegrationCreate{}
return &discord.GatewayEventIntegrationUpdate{}
}

func (h *gatewayHandlerIntegrationUpdate) HandleGatewayEvent(client bot.Client, sequenceNumber int, shardID int, v any) {
Expand Down

0 comments on commit 9f75fcd

Please sign in to comment.