3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-17 15:15:02 +00:00
Commit graph

278 commits

Author SHA1 Message Date
Dragory
ad385ff28a !mutes fixes 2018-08-05 01:43:31 +03:00
Dragory
541e9fdea0 Add Tags plugin 2018-08-05 01:32:59 +03:00
Dragory
0438b08cc8 ModActions: don't re-message on overlapping mute, update old case instead; allow specifying an unmute time 2018-08-05 00:58:03 +03:00
Dragory
8d80439214 LogServer: retry starting the web server if it fails due to EADDRINUSE (probably old instance of the bot still shutting down) 2018-08-05 00:45:35 +03:00
Dragory
61ecade13d BotControl: add function to reload all global plugins, other tweaks 2018-08-05 00:43:58 +03:00
Dragory
3991858511 Add case_id to mutes. Add !mutes command to list mutes. 2018-08-05 00:18:50 +03:00
Dragory
128ae87b41 Add !guild_reload to reload the current guild's config and plugins 2018-08-03 19:26:54 +03:00
Dragory
141b6cbf43 Use fancier typings in ReactionRolesPlugin 2018-08-03 19:26:27 +03:00
Dragory
bebb870bcd Don't crash when sending a log message that is too long 2018-08-03 19:26:06 +03:00
Dragory
9b209e2fef Don't crash on Discord HTTP errors 2018-08-03 19:25:00 +03:00
Dragory
0012556832 fix(censor): handle unknown invites gracefully 2018-08-03 19:24:40 +03:00
Dragory
9e0bbc5cc6 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2018-08-03 19:12:21 +03:00
Miikka
46ba73c6e6 fix(spam): recent actions being considered from all users, not just the author of the message being evaluated 2018-08-03 11:23:08 +03:00
Dragory
1c2b9ddb99 Add zalgo filter in Censor plugin 2018-08-02 22:24:54 +03:00
Dragory
f6f975a339 Add default mod override for Spam plugin 2018-08-02 22:22:51 +03:00
Dragory
f165c906ad fix(spam): mute time being treated as seconds instead of minutes 2018-08-02 17:53:50 +03:00
Dragory
e424cddcd6 Change voice activity log format 2018-08-02 17:53:29 +03:00
Dragory
f9baa15140 Allow browsing !search result pages 2018-08-02 04:00:42 +03:00
Dragory
1ef86eb97d Crash on errors after all 2018-08-02 03:46:29 +03:00
Dragory
546281d495 Don't ask 2018-08-02 03:04:16 +03:00
Dragory
8dde7fec76 Add optional 'expanded' param to !cases 2018-08-02 03:01:22 +03:00
Dragory
6c5a05c95c Cap !cases reason previews to 80-ish characters 2018-08-02 02:46:57 +03:00
Dragory
44792a824b Add some safeguards against messages without an author 2018-08-02 02:28:52 +03:00
Dragory
29a229ba49 Don't crash on error; just console.error it 2018-08-02 01:19:20 +03:00
Dragory
d366be0e19 Add colours for new case types, and tweak the old colours 2018-08-02 01:15:05 +03:00
Dragory
ea44d6e99f Update MESSAGE_EDIT default format to be clearer 2018-08-02 00:55:02 +03:00
Dragory
c5f139df24 Add softban command. Mod action fixes and tweaks. 2018-08-02 00:51:25 +03:00
Dragory
e984fe89e5 Spam config: muteTime -> mute_time 2018-08-02 00:51:04 +03:00
Dragory
3e5f182aaf Switch from node-mariasql to mysql2
Node-mariasql returned dates in an incorrect timezone, and the project
doesn't seem to be actively maintained. Switching to mysql2 fixes the issue.
2018-08-02 00:48:48 +03:00
Dragory
eb7efd9648 Add log url to automatic spam mute cases 2018-08-01 20:21:55 +03:00
Dragory
8220a2bf88 Change spam log expiry time from 7 days to 90 days 2018-08-01 20:17:30 +03:00
Dragory
41ddea9597 Move SPAM_DELETE log url to its own line 2018-08-01 20:10:48 +03:00
Dragory
c479ef1ff6 feat: save deleted spam logs; server spam logs from a web server; update Knub to 9.6.4 2018-08-01 20:09:51 +03:00
Dragory
2592de6c2b fix(spam): count duplicate mentions; only clean offending messages 2018-08-01 19:13:32 +03:00
Miikka
f585342c8d fix(logs): escape mentions in edit/delete logs 2018-08-01 09:36:46 +03:00
Dragory
f77e70d4d2 fix: percentage signs in mod action reasons causing crashes
This is an issue with audit log reasons that are sent as an HTML header.
Eris tries to decodeURI these before sending them, which throws an error
if you have an invalid percent encoding in the reason (e.g. "100%").

See eris/issues/276 and RequestHandler.js#L74
2018-08-01 00:52:44 +03:00
Dragory
fb5c29a827 fix: load all guild members on start 2018-07-31 20:58:48 +03:00
Dragory
d3dbb9f479 fix(logs): use log type strings for include/exclude 2018-07-31 20:23:33 +03:00
Dragory
229f27f2f3 Add Expunged case type 2018-07-31 19:37:07 +03:00
Dragory
b0c10b1fda Only load plugins that are defined in config 2018-07-31 19:00:17 +03:00
Dragory
5359d0d5fe General fixes. Update Knub to 9.6.1. Add info and server commands. 2018-07-31 04:02:45 +03:00
Dragory
7ded84b924 Add spam plugin. Add clean commands. Update Knub to 9.6.0. 2018-07-31 02:42:45 +03:00
Dragory
ad6afdfac1 Add persist plugin 2018-07-30 23:35:44 +03:00
Dragory
e7734c558c Add censor plugin. Various other fixes/features. Update Knub to 9.4.13. 2018-07-30 01:44:03 +03:00
Dragory
0c806f32fd More work on logging and automatic mod actions 2018-07-29 23:30:24 +03:00
Dragory
724c30703f feat: add logging for most events 2018-07-29 18:46:49 +03:00
Dragory
c0614f2470 Add ReactionRoles plugin 2018-07-29 15:18:26 +03:00
Dragory
92e5282b70 Change error message icon from a red cross to a warning triangle 2018-07-14 20:56:30 +03:00
Dragory
67e4e811a7 Add level command for checking your permission level with the bot 2018-07-14 20:56:08 +03:00
Dragory
6bf865af77 Add unban, forceban, and addcase commands 2018-07-14 20:55:39 +03:00