Files
discordeno/src/controllers/mod.ts
2020-09-12 11:32:15 -04:00

22 lines
624 B
TypeScript

import {
handleInternalChannelCreate,
handleInternalChannelDelete,
handleInternalChannelUpdate,
} from "./channels.ts";
import {
handleInternalGuildCreate,
handleInternalGuildDelete,
handleInternalGuildUpdate,
} from "./guilds.ts";
import { handleInternalReady } from "./misc.ts";
export let controllers = {
READY: handleInternalReady,
CHANNEL_CREATE: handleInternalChannelCreate,
CHANNEL_DELETE: handleInternalChannelDelete,
CHANNEL_UPDATE: handleInternalChannelUpdate,
GUILD_CREATE: handleInternalGuildCreate,
GUILD_DELETE: handleInternalGuildDelete,
GUILD_UPDATE: handleInternalGuildUpdate,
};