Update docs on the attachmentStorage option

cshd
Dragory 2020-08-13 02:46:30 +03:00
parent 1f5faaab5b
commit 1c5b08b4c6
No known key found for this signature in database
GPG Key ID: 5F387BA66DF8AAC1
1 changed files with 4 additions and 3 deletions

View File

@ -100,10 +100,11 @@ e.g. `!note This is an internal message`.
If `alwaysReply` is enabled, this option controls whether the auto-reply is anonymous
#### attachmentStorage
**Default:** `local`
**Default:** `original`
Controls how attachments in modmail threads are stored. Possible values:
* **local** - Files are saved locally on the machine running the bot
* **discord** - Files are saved as attachments on a special channel on the inbox server. Requires `attachmentStorageChannelId` to be set.
* `original` - The original attachment is linked directly
* `local` - Files are saved locally on the machine running the bot and served via a local web server
* `discord` - Files are saved as attachments on a special channel on the inbox server. Requires `attachmentStorageChannelId` to be set.
#### attachmentStorageChannelId
**Default:** *None*