From 6dc0f3ca8d1f93fd872076f54ce1f66c8151e32f Mon Sep 17 00:00:00 2001 From: Ale Date: Mon, 4 Sep 2023 10:41:08 +0200 Subject: [PATCH] fix: Crash --- src/index.ts | 2 +- src/models/alterModel.ts~ | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 src/models/alterModel.ts~ diff --git a/src/index.ts b/src/index.ts index 77e09ed..f36b246 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,7 +2,7 @@ import { Client, Message } from "revolt.js"; import { commandHandler } from "./utils/commandHandler" import { nonCommandHandler } from "./utils/nonCommandHandler" import config from "../config.json" -const client : Client = new Client(); +const client : Client = new Client({ eagerFetching: false }); client.on("ready", async () => { diff --git a/src/models/alterModel.ts~ b/src/models/alterModel.ts~ deleted file mode 100644 index 1dacc0d..0000000 --- a/src/models/alterModel.ts~ +++ /dev/null @@ -1,7 +0,0 @@ -export interface AlterModel { - id?: number; - owner: string; - prefix: string; - name: string; - profile_pic_url: string; -}