Commit Graph

27 Commits (f8b5327ef607afede2bafb8b43be30607dc10211)

Author SHA1 Message Date
Dragory 21d2a7453c Add allowUserClose option. Fixes #69 2018-09-20 23:31:14 +03:00
Dragory 2f1b51d97a Add support for sending anonymous snippets. Add snippetPrefixAnon option. Fixes #82 2018-09-20 22:54:47 +03:00
Dragory 1ec0a811d9 Support role and user IDs in inboxServerPermission. Allow specifying multiple values for inboxServerPermission. 2018-09-20 22:27:59 +03:00
Dragory d07384a01e Add botMentionResponse option. Fixes #143 2018-09-20 22:07:38 +03:00
Dragory 68af488663 Add mentionUserInThreadHeader option. Fixes #152 2018-09-20 22:03:51 +03:00
Dragory 2cecbc3e46 Add support for a .js config file 2018-08-08 01:32:22 +03:00
Dragory b7673b7544 Add smallAttachmentLimit config option to control the size limit of relaySmallAttachmentsAsAttachments 2018-08-08 00:59:02 +03:00
Dragory c7c0ee4e9a Change requiredAccountAge to use hours instead of days 2018-07-27 20:35:37 +03:00
Dragory 1aa4abd62e Rename account age options 2018-07-27 19:48:45 +03:00
Jonas Pardon 9c1a5863f5 Add option for minimum account age for contacting modmail
Saw this on the to-do list and decided to give it a shot. Tested and works without issues for me. I advise testing yourself before merging, there's always a chance I missed something since your code is quite extended to work through.
2018-07-10 11:59:29 +02:00
Jonas Pardon 6f327b7456 Added an optional close message
You can assign a value to closeMessage to make the bot DM people when their thread gets closed.
2018-07-05 18:34:12 +02:00
Dragory 1d2f3dd4d8 Fix crash when the auto-response cannot be sent. Add pingOnBotMention option for controlling whether the staff get pinged for bot mentions. 2018-05-03 20:26:12 +03:00
Dragory cd96c70f1c Switch config parser to JSON5. Accept multiple config file names. 2018-05-03 19:55:21 +03:00
Dragory e5b29a235e Add multi-server support and more thread header information
Fixes #63. Multi-server support allows you to set an array of ids in
mainGuildId. If there are more than 1 main guild, the thread header will
display nickname and join date for each main guild the user is in.

Thread header information now also includes how long it's been since the
user joined the guild(s).

The commit also includes some minor code cleanup.
2018-04-21 15:38:21 +03:00
Dragory dcd9d94734 Fix incorrect mentionRole default 2018-03-11 22:08:59 +02:00
Dragory 6767cd91f7 Change option in #59 to mentionRole, and extend functionality
The option now defaults to "here", and also accepts "everyone" as a value.
Can be set to null to disable these mentions entirely.
2018-03-11 21:55:47 +02:00
HaydenMeloche 92508c7e3f Added user configurable mentions 2018-03-06 18:40:38 -05:00
Dragory 3f99cbd948 Fix merge conflicts 2018-02-24 23:16:28 +02:00
Dragory b9678d08dd Add !move command 2018-02-19 00:23:29 +02:00
Dragory adce3e0cbb Fix missing here ping on new threads. Add threadTimestamps option to revert removal of thread timestamps. 2018-02-18 23:29:24 +02:00
Dragory 8a77bf1849 Disable small attachment relaying by default, add option for it 2018-02-18 20:06:24 +02:00
judge2020 036885144e
Impliment typing proxy 2018-01-22 17:17:24 -05:00
Dragory bb6d8e5dbf Refactor large parts of the bot 2018-01-01 02:16:05 +02:00
Dragory 58f35c87da Start work on moving data to an SQLite database. Add a migrator for legacy data. 2017-12-24 22:04:08 +02:00
Miikka Virtanen b2d9c93f43 Add newThreadCategoryId option 2017-09-22 22:18:15 +03:00
Miikka Virtanen 893bfb091e Set greeting defaults to null 2017-09-19 21:32:48 +03:00
Miikka Virtanen b934f8eb25 Code refactoring and clean-up 2017-09-19 20:23:55 +03:00