Commit Graph

35 Commits (0a4d97fc11498c716db9b7a3d4279569f339e635)

Author SHA1 Message Date
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 158db3c070 Fix replies without text that include attachments 2019-06-16 22:37:05 +03:00
Dragory 38c7bd83ff Switch to knub-command-manager instead of Eris's command client. Update sqlite3 for Node.js 12 support. 2019-06-16 22:27:30 +03:00
Dragory 3cf31f37d9 Add pagination to !logs 2019-06-09 20:25:47 +03:00
Dragory a60515bcc7 Fix !block/unblock time arg without explicit user id 2019-06-09 20:25:21 +03:00
Dragory 1259669c9d Add support for timed blocks. Add !is_blocked. 2019-06-09 20:04:40 +03:00
Dragory 2d5bf76209 Add support for snippet arguments 2019-06-09 19:17:32 +03:00
Dragory b9133da4da Add update notifications 2019-06-09 17:31:17 +03:00
Dragory 18f3da1247 Add guildGreetings config option 2019-06-09 15:56:04 +03:00
Dragory ae3f3920e3 Ignore account age/time on server requirements when using !newthread 2019-04-15 19:26:14 +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 a470b72016 Add attachmentStorage option 2019-03-06 23:31:24 +02:00
Dragory 688ab7ceea Add support for scheduled !suspend 2019-03-06 21:37:36 +02:00
Dragory bee147c19d Allow !loglink in suspended threads 2019-03-06 21:36:17 +02:00
Dragory 188f7543ee Allow silent scheduled closes. Make close time format stricter (no whitespace). 2019-03-06 21:15:09 +02:00
Dragory cd3da4c4ec Add syncPermissionsOnMove config option 2019-03-06 20:50:24 +02:00
Dragory 5e1a1e7e15 Add 'silent' option to !close when closeMessage is specified 2019-02-23 23:32:18 +02:00
Dragory 86bc6fd809 Only delete the reply command if the bot was able to send the reply 2019-02-23 22:55:26 +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 55367665e8 Update mime node-mime to 2.3.1 2018-08-08 01:10:38 +03:00
Dragory 7e7bd03798 Fix crash if the close message failed to send when closing a thread 2018-08-08 00:55:03 +03:00
Dragory ff977b3eea Gracefully handle web server errors 2018-08-08 00:54:01 +03: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 445659d592 Fix greetings not being sent after 2.9.0
Greetings broke when multi-server support was added.
This commit fixes that.
2018-05-14 19:49:15 +03:00
Miikka 82a89b6e86
modules.move: slightly prioritize categories that start with the search string 2018-04-25 02:25:49 +03:00
Miikka d6793d5c12
modules.move: fix !move ignoring the last letter of the category name 2018-04-25 02:21:24 +03:00
Dragory a839372cfe You can now use !close c as an alias for !close cancel 2018-04-21 16:42:35 +03:00
Dragory 5e1b5112a2 Add !alert
Using !alert in a modmail thread will ping you the next time the thread
gets a new reply. Use !alert cancel to cancel.
2018-04-21 16:39:38 +03:00
Dragory 319f6571bc Add !id
The !id command returns the user ID of the current thread. Useful for
getting the user ID on mobile.
2018-04-21 15:41:03 +03:00
Dragory 1fc32f71d0 Fix #67: errors from privacy settings are now ignored with greetings 2018-04-21 14:31:58 +03:00
Dragory 4305609f0b Add !newthread 2018-04-08 02:56:30 +03:00
Dragory 9c322a5af3 Add !version command 2018-03-13 07:59:27 +02:00
Dragory ab3d70008a Move more code from main.js to individual module files. Rename plugins -> modules. Remove some obsolete comments. 2018-03-13 07:45:31 +02:00