Dragory
def46941c9
Automod work. Add config examples to automod.
2019-10-11 01:59:56 +03:00
Dragory
0a8383ef42
Fix error when getUrlsInString doesn't match any URLs
2019-09-29 15:57:08 +03:00
Dragory
e5204d844b
docs api: plugin options -> defaultOptions, tweak config schema formatting
2019-09-29 15:54:19 +03:00
Dragory
12f25346ec
More documentation work
2019-08-22 02:58:32 +03:00
Dragory
9e69b3bf5b
Auto-generate plugin docs (WIP)
2019-08-22 01:22:26 +03:00
Dragory
846e623e3e
Initial work on new automod
2019-08-18 16:40:15 +03:00
Miikka Virtanen
5861524914
Fix error when calling resolveUserId with null/missing user id
2019-08-14 10:55:34 +03:00
Dragory
20d7b2f145
Add standardized function for asking the user to confirm an action
2019-08-10 00:13:35 +03:00
Dragory
1500af827a
utils: safety checks to resolveUser; ignore a tslint error
2019-08-05 01:40:27 +03:00
Dragory
5e465b3e67
Temporary fixes to deepKeyIntersect while config modifiers are still a thing
2019-08-04 17:30:47 +03:00
Dragory
6fa0a55b28
Fix for non-object-literals in deepKeyIntersect
2019-08-04 16:47:42 +03:00
Dragory
242bfe2b39
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
fba6ae96ba
Add forceFresh parameter to resolveMember. Clean up resolveUser/resolveMember code.
2019-08-04 13:14:23 +03:00
Dragory
6874a08904
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
5c2cd240e1
Revert emoji match fix
2019-07-22 01:33:38 +03:00
Dragory
24afc0a503
Typing fixes; show last reload time in !about
2019-07-22 00:09:45 +03:00
Dragory
9082b71b69
Fix certain emoji not being matched
2019-07-21 14:36:05 +03:00
Dragory
c94c8849a5
Initial dashboard work (auth flow)
2019-05-26 00:13:42 +03:00
Dragory
718029e9a5
Add post scheduling. Add cleaner post_embed syntax.
2019-05-04 18:41:50 +03:00
Dragory
32fd31fcc5
Tidy up debug logging in resolveMember
2019-05-04 10:49:55 +03:00
Dragory
a9799de8d5
Fix crash
2019-05-03 08:13:10 +03:00
Dragory
2e74b2de72
Optimizations + debug logging
2019-05-02 18:34:15 +03:00
Dragory
0949a00541
Don't abuse the API in resolveUser/resolveMember
2019-05-02 18:25:25 +03:00
Dragory
fc770b2eba
Temp fix
2019-05-02 18:17:09 +03:00
Dragory
f8b2c71fef
User resolving optimizations + debug logging
2019-05-02 18:14:36 +03:00
Dragory
fc4941a3a3
Split codeblocks properly in chunkMessageLines
2019-04-30 05:32:50 +03:00
Dragory
5c8f6cfacc
Fix occasional error when resolving a user by username
2019-04-23 05:28:50 +03:00
Dragory
57a059ff17
Fix bans failing when fetching members on-demand
2019-04-21 18:57:32 +03:00
Dragory
ba7fbd87a7
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
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
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
c1d3ed6815
Allow overriding default unit for delay strings; use seconds by default for slowmodes
2019-04-14 14:05:16 +03:00
Dragory
d9fc59f892
Some fixes and cleanup
2019-04-14 13:30:48 +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
e61e0037e9
Support weeks (w) in delays (mutes, reminders, etc.)
2019-04-13 02:35:53 +03:00
Dragory
f8ae8a3003
Add templateFormatter; migrate from formatTemplateString to templateFormatter
2019-03-16 15:42:55 +02:00
Dragory
bf0813886e
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
02620f15a3
Utility: add more options to !search, make the results list prettier
2019-02-17 22:49:14 +02:00
Dragory
19a9c0bfaa
Utility: add !vcmove command
2019-02-17 16:45:29 +02:00
Dragory
254204df90
utils: fix role mention regex
2019-02-17 16:01:04 +02:00
Dragory
04eaf70cd3
utility: make !roles prettier, include search functionality
2019-02-15 03:55:18 +02:00
Dragory
1bd44bb85a
utils: fix isSnowflakeRegex; add isUnicodeEmoji
2019-02-09 14:36:31 +02:00
Dragory
3110d15509
Post: add support for !posting files
2019-01-15 03:04:47 +02:00
Dragory
9670a17e99
Add auto-reaction support
2019-01-12 13:42:11 +02:00
Dragory
8c0a2561c9
Add name history plugin
2019-01-06 15:27:51 +02:00
Dragory
2ae4b073fb
Fix starboard and spam plugins not detecting animated emoji
2019-01-06 12:30:52 +02:00
Dragory
95ae2ff9ca
Small cleanup
2018-12-22 12:39:03 +02:00
Dragory
b35d027ce5
Add Starboard plugin
2018-12-15 23:01:45 +02:00
Dragory
ef0fa61c39
Show attachments in message deletion logs
2018-12-15 17:15:32 +02:00
Dragory
37b791bd56
Add Slowmode plugin
2018-12-15 17:04:04 +02:00