refactor: 🏷️ Remove targetGuild from config typings

This commit is contained in:
Jack W. 2024-03-05 15:07:19 -05:00
parent e92f5eaf6e
commit cad72fafd2
No known key found for this signature in database
2 changed files with 1 additions and 3 deletions

View file

@ -27,7 +27,6 @@ Invite your bot to a server, and create a new `config.json` in the project root:
{ {
"maxDiscordFiles": 20, "maxDiscordFiles": 20,
"maxDiscordFileSize": 26214400, "maxDiscordFileSize": 26214400,
"targetGuild": "1024080490677936248",
"targetChannel": "1024080525993971913", "targetChannel": "1024080525993971913",
"requestTimeout":120000, "requestTimeout":120000,
"maxUploadIdLength":30, "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). 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). 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).

View file

@ -47,7 +47,6 @@ export type FileUploadSettings = Partial<Pick<FilePointer, "mime" | "owner">> &
export interface Configuration { export interface Configuration {
maxDiscordFiles: number maxDiscordFiles: number
maxDiscordFileSize: number maxDiscordFileSize: number
targetGuild: string
targetChannel: string targetChannel: string
requestTimeout: number requestTimeout: number
maxUploadIdLength: number maxUploadIdLength: number