refactor(controllers): separate controllers into different files (#657)

* refactor(controllers): separate controller into files

* add CHANNEL_UPDATE

* guilds

* interactions

* members

* messages

* finally

* done

* fix ci

* fixes
This commit is contained in:
ayntee
2021-03-11 20:38:27 +04:00
committed by GitHub
parent 359a775715
commit aaed064709
62 changed files with 1157 additions and 1060 deletions
+2 -3
View File
@@ -10,10 +10,9 @@ import { delay } from "../../util/utils.ts";
import { allowNextShard, basicShards } from "../../ws/mod.ts";
import { initialMemberLoadQueue } from "../structures/guild.ts";
import { structures } from "../structures/mod.ts";
import { cacheHandlers } from "./cache.ts";
import { cacheHandlers } from "../../cache.ts";
/** This function is the internal handler for the ready event. Users can override this with controllers if desired. */
export async function handleInternalReady(
export async function handleReady(
data: DiscordPayload,
shardID: number,
) {