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 handleIntegrationUpdate(data: DiscordPayload) {
export function handleIntegrationUpdate(data: DiscordGatewayPayload) {
const {
enable_emoticons: enableEmoticons,
expire_behavior: expireBehavior,