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

63 commits

Author SHA1 Message Date
Dragory
7b07cf7ac9 Allow using !update without a case number. Will update the mod's latest case instead. 2019-02-17 15:23:40 +02:00
Dragory
9c099d5541 Update to Knub 17.0.1, remove all d.nonBlocking() calls 2019-02-17 15:19:55 +02:00
Dragory
14a9cf4cdf Make more events non-blocking 2019-02-16 14:13:46 +02:00
Dragory
2cb68ff9c5 GuildActions: create overloads for known actions; refactor certain actions, using only 1 args object; mutes: move !mutes to the Mutes plugin, fix case number not showing in mute list, make mute list prettier 2019-02-15 05:07:28 +02:00
Dragory
988f0842a0 Make lengthy handlers nonBlocking 2019-02-08 22:37:09 +02:00
Dragory
0cc131b3ab Add special mention if a mod action was performed on behalf of another mod with the --mmod option 2019-02-08 20:25:35 +02:00
Dragory
359343fb91 Add --mod option to most mod actions 2019-02-08 20:04:48 +02:00
Dragory
e3212af58a Add --mod to !addcase 2019-02-07 20:36:57 +02:00
Dragory
af4ad0b0cd Add user id and show recent cases in 'member joined with prior records' log entry 2019-01-15 04:15:22 +02:00
Dragory
799ac2d502 Add support for hiding cases with !hidecase 2019-01-13 17:56:25 +02:00
Dragory
4f5b345ef6 ModActions: case list formatting tweaks 2019-01-12 12:22:20 +02:00
Dragory
d9e36a0b54 ModActions: show longer notes in !cases, add indicator for extra notes 2019-01-12 12:20:05 +02:00
Dragory
042cc012ff ModActions: show username in 'no cases found' response 2019-01-12 12:19:29 +02:00
Dragory
12f309d412 Update to Knub 14.0.0 and make changes to plugins accordingly 2019-01-03 06:15:28 +02:00
Dragory
627ba82196 Separate timed/indefinite mutes/unmutes in logs 2019-01-03 04:37:44 +02:00
Dragory
5353d5acbf Allow any text after 'expand' in !cases for memes 2018-12-22 18:57:24 +02:00
Dragory
9765c11bb1 Remove mute_role config requirement from ModActions 2018-12-22 13:55:24 +02:00
Dragory
1b6a8b0df0 Bold username on 'note added' mod action confirmation 2018-12-22 13:25:17 +02:00
Dragory
49f6c6c94b Add case number to mod action confirmations 2018-12-22 13:22:16 +02:00
Dragory
ee0c4abd3c Fix kick logs with !kick 2018-12-22 12:26:54 +02:00
Dragory
c30f47d2ce Move canActOn to ZeppelinPlugin base class 2018-12-15 17:24:09 +02:00
Dragory
f89fedbac2 Fix error in unban 2018-12-14 08:54:15 +02:00
Dragory
1020747398 Use actions/events for plugin interoperability. Move base case and mute functionality to their own plugins. 2018-11-25 17:04:26 +02:00
Dragory
1f147fc9fa ModActions: fix errors when listing too many cases 2018-11-24 19:14:12 +02:00
Dragory
89dfeccd90 Switch from Knex to TypeORM. Update Knub. 2018-10-26 06:41:20 +03:00
Dragory
b2b9e93f8f fix(ModActions): don't create duplicate logs/cases for massbans; add more code comments 2018-08-18 13:34:57 +03:00
Dragory
3a9f3ec696 Add massban command 2018-08-16 20:07:43 +03:00
Dragory
ad385ff28a !mutes fixes 2018-08-05 01:43:31 +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
3991858511 Add case_id to mutes. Add !mutes command to list mutes. 2018-08-05 00:18:50 +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
d366be0e19 Add colours for new case types, and tweak the old colours 2018-08-02 01:15:05 +03:00
Dragory
c5f139df24 Add softban command. Mod action fixes and tweaks. 2018-08-02 00:51:25 +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
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
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
6bf865af77 Add unban, forceban, and addcase commands 2018-07-14 20:55:39 +03:00
Dragory
737a436e67 Separate unmute and mute expiry logs 2018-07-13 00:11:51 +03:00
Dragory
4a88dc10a9 Add unmute command 2018-07-13 00:11:19 +03:00
Dragory
498ebe8939 Allow JSON TS imports, fix errors from enabling esModuleInterop (required for JSON imports) 2018-07-12 02:58:34 +03:00
Dragory
e6f296381e Rename ModActions to Cases 2018-07-12 02:53:26 +03:00
Dragory
b23a358631 Add kick and ban commands 2018-07-12 02:03:22 +03:00
Dragory
9256014907 Clarify mute function comments 2018-07-12 02:03:07 +03:00
Dragory
27a15ec81f Save mute reasons to audit log 2018-07-12 02:02:15 +03:00
Dragory
68e2e7dd9b ModActions: don't allow actions on self 2018-07-12 01:59:13 +03:00