From 7af350ba55e952242871a52f132491e5332f89c2 Mon Sep 17 00:00:00 2001 From: "diamondburned (Forefront)" Date: Thu, 23 Jan 2020 22:35:50 -0800 Subject: [PATCH] Added WebhooksUpdate event --- gateway/events_map.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gateway/events_map.go b/gateway/events_map.go index 1ec0b2e..9060ed3 100644 --- a/gateway/events_map.go +++ b/gateway/events_map.go @@ -56,4 +56,6 @@ var EventCreator = map[string]func() Event{ "VOICE_STATE_UPDATE": func() Event { return new(VoiceStateUpdateEvent) }, "VOICE_SERVER_UPDATE": func() Event { return new(VoiceServerUpdateEvent) }, + + "WEBHOOKS_UDPATE": func() Event { return new(WebhooksUpdateEvent) }, }