3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-16 22:21:51 +00:00
Commit graph

65 commits

Author SHA1 Message Date
Dragory
490dc587a2 Fix error when getUrlsInString doesn't match any URLs 2019-09-29 15:57:08 +03:00
Dragory
86b1df0a6a docs api: plugin options -> defaultOptions, tweak config schema formatting 2019-09-29 15:54:19 +03:00
Dragory
1681a45069 More documentation work 2019-08-22 02:58:32 +03:00
Dragory
ee6d622941 Auto-generate plugin docs (WIP) 2019-08-22 01:22:26 +03:00
Dragory
ae43d890a1 Initial work on new automod 2019-08-18 16:40:15 +03:00
Miikka Virtanen
a48a58bd3c Fix error when calling resolveUserId with null/missing user id 2019-08-14 10:55:34 +03:00
Dragory
733855ac70 Add standardized function for asking the user to confirm an action 2019-08-10 00:13:35 +03:00
Dragory
5a1cf205a7 utils: safety checks to resolveUser; ignore a tslint error 2019-08-05 01:40:27 +03:00
Dragory
d679ab8b72 Temporary fixes to deepKeyIntersect while config modifiers are still a thing 2019-08-04 17:30:47 +03:00
Dragory
a1aa995a7a Fix for non-object-literals in deepKeyIntersect 2019-08-04 16:47:42 +03:00
Dragory
6043fd5cd3 Configs are not decoded as well as validated by io-ts. Improvements to config validation, error messages, and TSafeRegex type. 2019-08-04 15:44:41 +03:00
Dragory
66d6642bc6 Add forceFresh parameter to resolveMember. Clean up resolveUser/resolveMember code. 2019-08-04 13:14:23 +03:00
Dragory
ee58769460 Add bot alerts for missing audit log permissions; ignore internal server errors on discord's side when fetching audit logs 2019-07-22 13:50:24 +03:00
Dragory
004a753a58 Revert emoji match fix 2019-07-22 01:33:38 +03:00
Dragory
3e0498f96b Typing fixes; show last reload time in !about 2019-07-22 00:09:45 +03:00
Dragory
0c00c5355f Fix certain emoji not being matched 2019-07-21 14:36:05 +03:00
Dragory
5a91d36953 Initial dashboard work (auth flow) 2019-05-26 00:13:42 +03:00
Dragory
e18193c1a2 Add post scheduling. Add cleaner post_embed syntax. 2019-05-04 18:41:50 +03:00
Dragory
76ab2e9465 Tidy up debug logging in resolveMember 2019-05-04 10:49:55 +03:00
Dragory
6adcd1b583 Fix crash 2019-05-03 08:13:10 +03:00
Dragory
6ed8aba35f Optimizations + debug logging 2019-05-02 18:34:15 +03:00
Dragory
a84fb87324 Don't abuse the API in resolveUser/resolveMember 2019-05-02 18:25:25 +03:00
Dragory
d776eb1710 Temp fix 2019-05-02 18:17:09 +03:00
Dragory
ac7f6e728b User resolving optimizations + debug logging 2019-05-02 18:14:36 +03:00
Dragory
97e78e37ca Split codeblocks properly in chunkMessageLines 2019-04-30 05:32:50 +03:00
Dragory
0742c19cbb Fix occasional error when resolving a user by username 2019-04-23 05:28:50 +03:00
Dragory
706ccb4fce Fix bans failing when fetching members on-demand 2019-04-21 18:57:32 +03:00
Dragory
ab83e83d42 Add custom argument types for deep-resolved users/members, use these in some places. Deprecate unknownUser (constant) and replace with instances of UnknownUser (class). 2019-04-20 19:03:30 +03:00
Dragory
608f17c532 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
ee20363dd8 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
1ead037b8a Allow overriding default unit for delay strings; use seconds by default for slowmodes 2019-04-14 14:05:16 +03:00
Dragory
7f0833f699 Some fixes and cleanup 2019-04-14 13:30:48 +03:00
Dragory
fe88766f02 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
838448153b Support weeks (w) in delays (mutes, reminders, etc.) 2019-04-13 02:35:53 +03:00
Dragory
ba3af1cb63 Add templateFormatter; migrate from formatTemplateString to templateFormatter 2019-03-16 15:42:55 +02:00
Dragory
374e79e2dc Include durations in mute and unmute case notes, clarify bot responses when updating an active mute 2019-03-07 22:35:33 +02:00
Dragory
151971bb84 Utility: add more options to !search, make the results list prettier 2019-02-17 22:49:14 +02:00
Dragory
4f5eb0689d Utility: add !vcmove command 2019-02-17 16:45:29 +02:00
Dragory
82f73a8f51 utils: fix role mention regex 2019-02-17 16:01:04 +02:00
Dragory
bdc8b85955 utility: make !roles prettier, include search functionality 2019-02-15 03:55:18 +02:00
Dragory
2e245ab16b utils: fix isSnowflakeRegex; add isUnicodeEmoji 2019-02-09 14:36:31 +02:00
Dragory
d3c3b65db6 Post: add support for !posting files 2019-01-15 03:04:47 +02:00
Dragory
d3a4989dc0 Add auto-reaction support 2019-01-12 13:42:11 +02:00
Dragory
681517341e Add name history plugin 2019-01-06 15:27:51 +02:00
Dragory
dced441d09 Fix starboard and spam plugins not detecting animated emoji 2019-01-06 12:30:52 +02:00
Dragory
dee4637a7f Small cleanup 2018-12-22 12:39:03 +02:00
Dragory
0c8efedb8c Add Starboard plugin 2018-12-15 23:01:45 +02:00
Dragory
62afd8e8e6 Show attachments in message deletion logs 2018-12-15 17:15:32 +02:00
Dragory
0431b3c225 Add Slowmode plugin 2018-12-15 17:04:04 +02:00
Dragory
40a20f94c1 ModActions: fix errors when listing too many cases 2018-11-24 19:14:12 +02:00