Commit Graph

682 Commits (66429c629d6cf2da592f2e4a4254080053ff0f5f)

Author SHA1 Message Date
DopeGhoti edd2ceb1ab Add optional automatic thread creation on mention
Add an option to have the bot automatically open a
new thread when a user @s the bot in a monitored
channel.  Modify configuration parser to handle the
new settings; add a stanza to the configuration
documentiaion for it.
2020-06-04 20:27:01 -07:00
Dragory 1382c639a9
Fix error when attempting to unsuspend outside a thread channel 2020-05-26 00:24:35 +03:00
Dragory d1f939cbc8
ModMail -> Modmail 2020-05-25 23:56:48 +03:00
Dragory 77e13626af
docs: add Snippets page, clean up Commands page 2020-05-25 23:55:50 +03:00
Dragory 6434066318
Simplify log header 2020-05-25 23:55:11 +03:00
Dragory 5c247fc73d
Fix for error with thread message number increment on MySQL 2020-05-25 23:09:45 +03:00
Dragory c76d422768
Fix error when sending system messages to the user 2020-05-25 11:52:31 +03:00
Dragory 200b236c75
Fix error on launch when using a fresh database 2020-05-25 02:45:07 +03:00
Dragory 2b6061faf8
Add 'engines' to package.json 2020-05-25 02:39:41 +03:00
Dragory cc23142a31
Improve error messages 2020-05-25 02:38:35 +03:00
Dragory 7268ae8b8d
Update beta version number, add changelog entries 2020-05-25 02:01:45 +03:00
Dragory f8ddf97b53
Add verbose and simple options to logs 2020-05-25 01:54:26 +03:00
Dragory d23bc05bcb
Merge branch 'master' of github.com:Dragory/modmailbot 2020-05-25 01:33:15 +03:00
Dragory 6eb9b973c0
More consistent log formatting. Store DM channel IDs and inbox message IDs with thread messages. Add !dm_channel_id. Add message numbers to the database in preparation for !edit and !delete. Some code reorganisation. 2020-05-25 01:33:10 +03:00
Dragory 320fad9823
Update to sqlite3 4.2.0 to support Node 13 2020-05-25 01:00:14 +03:00
Eegras ae3bf11d0b
Update pm2 config file to run on Windows 10
https://github.com/Unitech/pm2/issues/3657#issuecomment-482010714

This is a known issue with pm2 on Windows.  pm2 tries to run node.cmd as javascript which is wrong.
2020-04-30 18:33:57 -05:00
Dark c41f7a0978 Change to comma separated list 2020-02-18 01:22:00 +01:00
Dark 949a5efdb2 Allow multiple users to do !alert without overriding each other 2020-02-17 20:04:43 +01:00
Miikka 034c12b2aa
Emphasize the prerequisites in setup.md 2020-01-27 12:22:08 +02:00
Dragory 9864dca277
v2.30.1 2020-01-20 23:28:53 +02:00
Dragory 019ead716d
Update CHANGELOG for v2.30.1 2020-01-20 23:26:26 +02:00
Brayzure dcd80aabda Fix certain auto-reply errors 2020-01-20 23:20:56 +02:00
Dragory 327d1f4b2a
v2.30.0 2020-01-19 21:48:13 +02:00
Dragory e640cfa346
Update CHANGELOG for v2.30.0 2020-01-19 21:42:43 +02:00
Dragory e572523808
Revert some accidental changes from #319 2020-01-19 21:33:46 +02:00
Dragory d5f8839446
Merge branch 'master' of github.com:Dragory/modmailbot 2020-01-19 21:32:42 +02:00
Robert Klebes 7bec58cd1c Add direct link to message onBotMention (#319) 2020-01-19 21:31:29 +02:00
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