types: add gateway types

This commit is contained in:
ayntee
2021-03-27 12:37:11 +04:00
parent b1512e0334
commit 72b07574f2
16 changed files with 229 additions and 31 deletions
@@ -1,6 +1,7 @@
import { eventHandlers } from "../../bot.ts";
import { DiscordGatewayPayload } from "../../types/gateway.ts";
export function handleIntegrationDelete(data: DiscordPayload) {
export function handleIntegrationDelete(data: DiscordGatewayPayload) {
const {
guild_id: guildId,
application_id: applicationId,