From cad72fafd23636a5f89124d5486801af3a8f439c Mon Sep 17 00:00:00 2001 From: "Jack W." Date: Tue, 5 Mar 2024 15:07:19 -0500 Subject: [PATCH] refactor: :label: Remove targetGuild from config typings --- README.md | 3 +-- src/server/lib/files.ts | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index cc8e371..177dc56 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,6 @@ Invite your bot to a server, and create a new `config.json` in the project root: { "maxDiscordFiles": 20, "maxDiscordFileSize": 26214400, - "targetGuild": "1024080490677936248", "targetChannel": "1024080525993971913", "requestTimeout":120000, "maxUploadIdLength":30, @@ -72,4 +71,4 @@ Although we believe monofile is not against Discord's developer terms of service Code written by monofile's contributors is currently licensed under [Unlicense](https://github.com/nbitzz/monofile/blob/main/LICENSE). -Icons under `/assets/icons` were created by Microsoft, and as such are licensed under [different terms](https://github.com/nbitzz/monofile/blob/1.3.0/assets/icons/README.md) (MIT). \ No newline at end of file +Icons under `/assets/icons` were created by Microsoft, and as such are licensed under [different terms](https://github.com/nbitzz/monofile/blob/1.3.0/assets/icons/README.md) (MIT). diff --git a/src/server/lib/files.ts b/src/server/lib/files.ts index 17e958f..d740b29 100644 --- a/src/server/lib/files.ts +++ b/src/server/lib/files.ts @@ -47,7 +47,6 @@ export type FileUploadSettings = Partial> & export interface Configuration { maxDiscordFiles: number maxDiscordFileSize: number - targetGuild: string targetChannel: string requestTimeout: number maxUploadIdLength: number