Commit Graph

605 Commits (4ecea31fd8e2fc4aef4beff701bec689a1f94ebb)

Author SHA1 Message Date
Dragory 00fe240eb0
Expand multi-line .ini value support
The following options now also support multi-line values:
- responseMessage
- closeMessage
- botMentionResponse
- greetingMessage
- accountAgeDeniedMessage
- timeOnServerDeniedMessage
2020-01-19 21:25:10 +02:00
Dragory 015c9fae31
Merge branch 'master' of github.com:Dragory/modmailbot 2020-01-19 21:02:47 +02:00
Miikka 425c0bb210
Update configuration.md 2019-12-09 08:31:19 +02:00
Dragory 667b552bf5 Fix error when supplying all config values from env variables
If there was no config file and all config values were loaded from env
variables, the userConfig object was never assigned a value and would
throw an error when loading env variables.
2019-12-05 21:50:02 +02:00
Dragory 4920425ad0 Mention logChannelId option in log channel errors 2019-12-05 21:49:24 +02:00
Dragory 69352eb756 Remove old logChannelId fallback, add additional verification that the log channel is a text channel 2019-12-05 21:04:45 +02:00
Dragory 56bc979863 Add FAQ 2019-12-05 20:53:38 +02:00
Dragory 528942594c Clarify docs on single-server and two-server setups. Move single-server setup to be the first one. 2019-12-05 20:34:55 +02:00
Dragory d625e527d6 Fix crash in update checker if package.json's repository value is set to a repository without releases 2019-12-05 20:24:39 +02:00
Dragory dab1154154 Clarify wording in setup docs 2019-12-05 20:23:09 +02:00
Dragory 92e72beb64 Update CHANGELOG 2019-12-03 03:01:03 +02:00
Dragory 39a2be572e 2.29.1 2019-12-03 03:00:39 +02:00
Dragory 7e567a3267 Handle boolean values in config.ini properly 2019-12-03 03:00:26 +02:00
Dragory 0a4d97fc11 Style tweaks 2019-12-03 02:50:21 +02:00
Dragory 63fa0a8b9a docs: move two-server setup above single-server setup; wording/style tweaks 2019-12-03 02:49:37 +02:00
Dragory 20b46811c0 Slight wording changes in README. Use Modmail instead of ModMail consistently. 2019-12-03 02:47:46 +02:00
Dragory 1140e02824 2.29.0 2019-12-03 02:45:57 +02:00
Dragory 5d71312788 Add documentation about loading config values programmatically 2019-12-03 02:45:42 +02:00
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 518bf93f6f Fix incompatibility with Node.js 10 versions prior to 10.9.0 2019-12-03 02:06:44 +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 8c1ce9c0b6 Update dependencies 2019-12-02 18:26:54 +02:00
Dragory 878276ff24 Update eris to v0.11.0. Update knub-command-manager to v6.1.0. 2019-10-26 11:54:43 +03:00
SnowyLuma a2f34113d4 Don't ignore other bots chatting in threads 2019-09-29 03:59:09 +02:00
Dragory a7a2e3c55e 2.28.0 2019-09-18 02:26:08 +03:00
Dragory 7fe1cd071e Update CHANGELOG for v2.28.0 2019-09-18 02:26:01 +03:00
Dragory ad6d3acbfe Update plugin docs 2019-09-18 02:20:00 +03:00
Dragory 2ea858daac Move plugin loading to its own file. Define plugin API more explicitly. 2019-09-18 02:15:22 +03:00
Dragory 45e314b942 Document new attachment plugin API 2019-09-18 01:55:12 +03:00
Dragory 0f61966d4e Add support for adding attachment storage types in plugins 2019-09-18 01:52:16 +03:00
Dragory 5244cce31c Fix local attachments when temp dir and bot dir are on different drives 2019-09-18 01:34:17 +03:00
Miikka 6c10b088a8
Add support server invite to README 2019-09-11 21:39:37 +03:00
Miikka 7daa711b6d
Update README.md 2019-08-14 10:38:42 +03:00
Dragory d1e387f8c4 2.27.0 2019-08-13 20:42:47 +03:00
Dragory 018c291816 Update CHANGELOG for v2.27.0 2019-08-13 20:42:21 +03:00
Dragory 8f9709b34b Make syncPermissionsOnMove option true by default 2019-08-13 20:37:00 +03:00
Dragory 5085cf363a Call plugin functions with an object instead
Previously, plugin functions were called with 4 arguments.
These 4 arguments are now part of the passed object instead, making the
plugin system much more scalable in the future.
2019-08-13 20:34:46 +03:00
Dragory eea6a0c131 2.26.0 2019-08-13 20:10:03 +03:00
Dragory b08e4d01d7 Update CHANGELOG for v2.26.0 2019-08-13 20:09:45 +03:00
Dragory 547cc4758a Merge branch 'master' of github.com:Dragory/modmailbot 2019-08-13 20:01:44 +03:00
Dragory 01e63f27b6 Re-apply bot status every hour 2019-08-13 19:59:33 +03:00
Dragory bf3066a594 Fix deprecated syntax in .eslintrc 2019-08-13 19:58:14 +03:00
Dragory fcd48d6420 Wait for main and inbox guilds to become available before initializing the bot 2019-08-13 19:58:05 +03:00
Miikka 93f73c01ca
Merge pull request #327 from Huskydog9988/patch-1
Possible oversight of README
2019-08-06 23:59:06 +03:00
Huskydog9988 92ce0b1360
Update README.md
Added `newThreadCategoryId` back in and changed description to reflect deprecation of the option.
2019-08-06 13:41:54 -04:00
Huskydog9988 7a099b30b8
Possible oversight
`newThreadCategoryId` is not needed if my understanding of how the config file is read as `categoryAutomation.newThread` and `categoryAutomation.newThreadFromGuild` exist. If this is an intended part of the README.md for backwards compatibility (even though I don't know why it would still be here,) please correct me.
2019-08-05 22:29:19 -04:00
Miikka c2fd94e6c9
Merge pull request #309 from sporkwitch/master
Add pm2 support
2019-06-25 13:34:42 +03:00