From 9f75fcd0b0bda38cfc772538b875b50e5dc4de55 Mon Sep 17 00:00:00 2001 From: caneleex Date: Tue, 14 Jun 2022 22:47:32 +0200 Subject: [PATCH] fix incorrect return in integration_update_handler --- handlers/integration_update_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/integration_update_handler.go b/handlers/integration_update_handler.go index e252cdcb..836e2815 100644 --- a/handlers/integration_update_handler.go +++ b/handlers/integration_update_handler.go @@ -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) {