From 4abae9131da85cb02b42eafd7166305682230a18 Mon Sep 17 00:00:00 2001 From: Dragory Date: Wed, 6 Mar 2019 23:31:34 +0200 Subject: [PATCH] Update README and CHANGELOG for v2.19.0 --- CHANGELOG.md | 12 ++++++++++++ README.md | 2 ++ 2 files changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c36092e..45cea22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## v2.19.0 +* Add `attachmentStorage` option to control where attachments are saved. Currently supported: + * `"local"` (default) - Same as before: attachments are saved locally on the machine running the bot and served through the bot's web server + * `"discord"` - Attachments are saved on a special Discord channel specified by the `attachmentStorageChannelId` option +* Add `syncPermissionsOnMove` option. When enabled, thread channel permissions are synced with the category when the thread is moved with `!move`. +* Add support for scheduling `!suspend`. Works the same way as with `!close`, just specify the time after the command. Can be cancelled with `!suspend cancel`. +* Scheduled `!close` can now be silent - just add `silent` as an argument to the command before or after the schedule time +* The schedule time format for `!close` is now stricter and times with whitespace (e.g. `2 h 30 m`) no longer work. Use e.g. `2h30m` instead. +* `!loglink` can now be used in suspended threads +* User can now be mentioned in `botMentionResponse` by adding `{userMention}` to the response text. Thanks @reboxer (#225)! +* Fixed a small mistake in README, thanks @GabrielLewis2 (#226)! + ## v2.18.0 * Add `silent` option to `!close` (e.g. `!close silent`) to close threads without sending the specified `closeMessage` * Update some package versions (may help with sqlite3 install issues) diff --git a/README.md b/README.md index 5137cdd..ff8fd20 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,8 @@ These go in `config.json`. See also `config.example.json`. |allowUserClose|false|If set to true, users can use the close command to close threads by themselves from their DMs with the bot| |alwaysReplyAnon|false|If `alwaysReply` is set to true, this option controls whether the auto-reply is anonymous| |alwaysReply|false|If set to true, all messages in modmail threads will be relayed back to the user, even ones without `!r`| +|attachmentStorage|"local"|Controls where sent/received attachments are saved.

**"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.| +|attachmentStorageChannelId|null|When using "discord" attachment storage, the id of the channel on the inbox server where attachments should be saved| |botMentionResponse|None|If set, the bot auto-responds to bot mentions with this message. Allows `{userMention}` to be added to mention the user who mentioned the bot.| |closeMessage|None|The bot's message to the user when the thread is closed| |enableGreeting|false|Set to true to send a welcome message to new main guild members. Requires `mainGuildId` to be set.|