Files
discordeno/src/handlers/integrations/INTEGRATION_DELETE.ts
T
2021-05-21 15:51:33 +00:00

8 lines
360 B
TypeScript

import { eventHandlers } from "../../bot.ts";
import type { DiscordGatewayPayload } from "../../types/gateway/gateway_payload.ts";
import type { IntegrationDelete } from "../../types/integrations/integration_delete.ts";
export function handleIntegrationDelete(data: DiscordGatewayPayload) {
eventHandlers.integrationDelete?.(data.d as IntegrationDelete);
}