Commit Graph

43 Commits (0a4d97fc11498c716db9b7a3d4279569f339e635)

Author SHA1 Message Date
Dragory 8dd6513ca3 Add support for loading config values from environment variables 2019-12-03 02:40:50 +02:00
Dragory 1007dc0dd1 Add support for loading config values from environment variables. Fix nested/object values in config.ini. 2019-12-03 02:27:55 +02:00
Dragory 6635fe1414 Make sure numeric options are numbers. Convert empty strings from config.ini to null. Some loading message tweaks. 2019-12-03 02:00:00 +02:00
Dragory 89e7d6373b Switch from TOML to INI. New documentation. Add start.bat file for Windows. 2019-12-03 01:51:11 +02:00
Dragory 686c36dda4 Add support for TOML config files. Use TOML config files by default. 2019-12-02 19:01:36 +02:00
Dragory 8f9709b34b Make syncPermissionsOnMove option true by default 2019-08-13 20:37:00 +03:00
Dragory 4bfd247be3 Add support for command aliases 2019-06-09 19:31:16 +03:00
Dragory 373aef55cf Add basic support for plugins 2019-06-09 17:53:49 +03:00
Dragory b9133da4da Add update notifications 2019-06-09 17:31:17 +03:00
Dragory eb2f109301 Add rolesInThreadHeader config option 2019-06-09 16:04:17 +03:00
Dragory 18f3da1247 Add guildGreetings config option 2019-06-09 15:56:04 +03:00
Dragory 22e03d2335 Rename requiredJoinedAt -> requiredTimeOnServer, add support for multiple main guilds for that setting 2019-04-15 19:06:59 +03:00
santiago f2808c0b04 Add requirement for joinedAt 2019-04-15 10:43:22 -03:00
Dragory 073f3a87ea Add categoryAutomation config option and make newThreadCategoryId a shortcut for the newThread sub-option. Add support for per-guild categories via categoryAutomation. 2019-03-28 04:54:12 +02:00
Dragory a470b72016 Add attachmentStorage option 2019-03-06 23:31:24 +02:00
Dragory cd3da4c4ec Add syncPermissionsOnMove config option 2019-03-06 20:50:24 +02:00
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