Dragory
4acf1b3ad4
Update Knub to 20.0.0
2019-04-20 19:02:06 +03:00
Dragory
9a206455dc
Deprecate GuildActions. Fix double case posting when muting a user for message spam. Update to new mute/case style when muting a user for "other" spam.
...
GuildActions turned out to be a fairly pointless abstraction in the end.
It didn't really solve the problems it was meant to solve (that is,
reduce code spaghetti by having all inter-plugin calls go through a
single service, and allow easier ways to replace core plugins with
alternatives that share the same interface) any better than simply
using `this.getPlugin()` when needed, and introduced extra complexity
and made static analysis messier.
2019-04-20 17:36:28 +03:00
Dragory
b95da113b2
Fix error when fetching unknown user
2019-04-19 20:05:20 +03:00
Dragory
0619602fc9
Fix spam detection crash if a spam message is deleted before the spam filter applies
2019-04-19 12:26:17 +03:00
Dragory
353ce30e6b
Fix user mentions not working for mod actions. Allow using plain username to target users with mod actions. Make error messages more consistent.
2019-04-19 12:25:25 +03:00
Dragory
5952ba13cb
Merge branch 'master' of github.com:Dragory/ZeppelinBot
2019-04-18 08:46:03 +03:00
Dragory
4e5f87fb49
Work on better error messages for mod actions, allow muting users that are not on the server; WIP
2019-04-18 08:45:51 +03:00
Miikka
f01fbafb44
templateFormatter: fix unknown values showing up as "false"
2019-04-17 09:43:27 +03:00
Miikka
91a713b3aa
Fix bot-maintained slowmodes not being applied
2019-04-15 14:11:58 +03:00
Miikka
2fda98db44
Fix slowmodes longer than 6h
2019-04-15 14:01:49 +03:00
Dragory
1f79ea7e90
Fix error when parsing a spam plugin mute time that is of type number
2019-04-14 20:12:00 +03:00
Dragory
ff5666a7fe
Add safety net for unknown roles in guildMemberUpdate
2019-04-14 17:05:58 +03:00
Dragory
4e0bd46e0d
Add safety net for attempts to create a duplicate case for a single kick audit log entry
2019-04-14 17:05:07 +03:00
Dragory
268d88e4c5
Include user notification result in warn/kick/ban cases
2019-04-14 17:03:29 +03:00
Dragory
c1d3ed6815
Allow overriding default unit for delay strings; use seconds by default for slowmodes
2019-04-14 14:05:16 +03:00
Dragory
7a9fc177f0
Update husky & lint-staged, tweak their scripts
2019-04-14 13:37:29 +03:00
Dragory
956c6dc116
Clear lint-staged test
2019-04-14 13:36:03 +03:00
Dragory
788a009ab7
lint-staged test 2
2019-04-14 13:35:25 +03:00
Dragory
9e35526fa8
lint-staged test
2019-04-14 13:34:23 +03:00
Dragory
d9fc59f892
Some fixes and cleanup
2019-04-14 13:30:48 +03:00
Dragory
b74a6d55d6
Fix error when creating a case with no noteDetails
2019-04-14 13:26:55 +03:00
Dragory
25b986740f
Fix right click bans causing logs with the banned user's username missing
2019-04-14 13:26:29 +03:00
Dragory
2dd6fb22fe
Notify user for spam detection mutes. Add notification status ('user notified in DMs' etc.) to the case. Log case updates. Add 'unmuted immediately' to the case for unmutes without a time.
2019-04-13 17:35:02 +03:00
Dragory
d5f3a74bdb
evaluateTemplateVariable: require property to be a direct/own property of 'values', not from its prototype
2019-04-13 04:11:24 +03:00
Dragory
849c8c5500
Deprecate !cases expand/hidden in favor of options --expand/--hidden (-e/-h)
2019-04-13 04:01:37 +03:00
Dragory
4110239f30
Add !help
2019-04-13 03:54:36 +03:00
Dragory
de262f9de8
Update Knub to 19.3.0
2019-04-13 03:43:17 +03:00
Dragory
db20bd59e2
Clean up !update code
2019-04-13 03:31:50 +03:00
Dragory
788ab2a156
Deprecate !updatecase alias for !update
2019-04-13 03:28:38 +03:00
Dragory
302342227c
Fix some invalid permission checks
2019-04-13 03:27:29 +03:00
Dragory
aaf9e2448d
search: add --case-sensitive/--cs flag; show nicknames in the results
2019-04-13 03:24:02 +03:00
Dragory
a034a614b7
mute list: show whether the user has left the server or been banned; allow filtering by whether the user has left with --left
2019-04-13 03:17:09 +03:00
Dragory
489ad20e40
Allow filtering !mutes with --age
2019-04-13 02:39:36 +03:00
Dragory
e61e0037e9
Support weeks (w) in delays (mutes, reminders, etc.)
2019-04-13 02:35:53 +03:00
Dragory
d0b3d5a259
Add timestamps to !cases
2019-04-13 02:27:52 +03:00
Dragory
be0ff6b59b
Use command aliases/overloads where applicable
2019-04-13 02:23:45 +03:00
Dragory
2ab80a5c4d
Add !s as an alias for !search
2019-04-13 02:23:22 +03:00
Dragory
b39c295ecc
Update to Knub 19.2.0
2019-04-13 02:22:45 +03:00
Dragory
571dcf967e
Slowmode: support native slowmode up to 6h
2019-04-13 01:56:11 +03:00
Dragory
289b425a25
Update to Knub 19.1.1 and update plugins accordingly
2019-04-13 01:44:18 +03:00
Dragory
723b41fa24
Fix type error
2019-04-05 20:06:29 +03:00
Dragory
639881048a
Fix quotation marks in !mute and !unmute arguments
2019-04-05 20:05:37 +03:00
Dragory
d5a5890776
Update Knub to 18.2.0
2019-04-05 19:59:01 +03:00
Dragory
79d19794c9
Update Knub to 18.1.0, js-yaml to 3.13.1
2019-04-05 19:31:21 +03:00
Dragory
33cd56a56a
Starboard: use locks for checking reactions to avoid race conditions
2019-03-31 22:35:54 +03:00
Dragory
1251b86109
ModActions: allow 'e' as an alias for 'expand' in !cases
2019-03-20 00:35:46 +02:00
Dragory
6bbddba003
Utility: add voice information to !info, tweak embed styles a bit
2019-03-20 00:34:41 +02:00
Dragory
0554e8db06
Mutes: add move_to_voice_channel option
2019-03-20 00:24:32 +02:00
Dragory
fb952bf725
Fix tag character limit
2019-03-16 18:54:09 +02:00
Dragory
c293c8c856
templateFormatter: add choose() as a shortcut for cases() with a preset index that picks from the cases randomly
2019-03-16 18:52:45 +02:00