Dragory
9195d86adb
Code clean-up
2019-10-13 22:05:41 +03:00
Dragory
a89d88e688
censor: if invite filtering is enabled, always remove unknown invites
2019-10-13 22:05:26 +03:00
Dragory
4561ae7119
Fix Automod not clearing recent actions, leading to memory leak
2019-10-13 22:03:06 +03:00
Dragory
9d1fd8a2de
Remove redundant !clean alias
2019-10-13 00:58:44 +03:00
Dragory
f5b166027d
!clean: --has-invite -> --has-invites, allow specifying target channel
2019-10-13 00:52:06 +03:00
Dragory
ebeeabd263
Consolidate !clean to one command with --options, add --has-invite
2019-10-13 00:40:34 +03:00
Dragory
9ac761b4eb
Cache invites when resolving them
2019-10-13 00:21:35 +03:00
Dragory
5e72693a3b
SimpleCache: allow specifying max items, add better type support
2019-10-13 00:21:04 +03:00
Dragory
d1f2e4f146
Remove messages with !massban
2019-10-13 00:06:30 +03:00
Dragory
36bfe673cd
Fix double logs from warnings
2019-10-12 19:22:07 +03:00
Dragory
1196b40923
excluded_message_regex -> _regexes
2019-10-11 23:44:03 +03:00
Dragory
980f1c7807
Add TODO
2019-10-11 23:40:02 +03:00
Dragory
b8a14eacb1
Only allow specific flags in TSafeRegex
2019-10-11 23:39:54 +03:00
Dragory
985c4f3f66
logs: add excluded_message_regex option
2019-10-11 23:39:36 +03:00
Dragory
08dbfaef5b
automod: don't use log system for alert actions, require channel id directly instead; allow disabling logging from specific rules
2019-10-11 23:16:15 +03:00
Dragory
98908e8a9f
Automod logging improvements
2019-10-11 22:56:34 +03:00
Dragory
323cfc671e
Fix error reporting in WelcomeMessage
2019-10-11 22:39:49 +03:00
Dragory
689df77e25
Merge branch 'master' of github.com:Dragory/ZeppelinBot
2019-10-11 22:31:59 +03:00
Dragory
84387ccc1c
templateFormatter: fix newlines within function calls resulting in weird behavious
2019-10-11 22:31:48 +03:00
Miikka
bb00142031
Fix missing bot feedback on bans
2019-10-11 13:51:12 +03:00
Dragory
f0399b5562
Fix automod example in docs
2019-10-11 04:57:37 +03:00
Dragory
4acbde8314
Fix several flag options expecting a value
2019-10-11 04:54:05 +03:00
Dragory
4af3185993
Tweak default warn/kick/ban messages
2019-10-11 04:45:37 +03:00
Dragory
64462d6d25
Fix overly verbose warn cases
2019-10-11 04:44:58 +03:00
Dragory
c552ef80cb
Add support for tag categories
2019-10-11 02:42:52 +03:00
Dragory
3a876fe1f0
Config schema and docs text changes. Fix clickable tab area in dashboard/docs.
2019-10-11 02:09:31 +03:00
Dragory
def46941c9
Automod work. Add config examples to automod.
2019-10-11 01:59:56 +03:00
Dragory
89615a10c3
dashboard: use webpack for builds; use tailwindcss instead of bulma; all sorts of tweaks
2019-10-10 21:58:00 +03:00
Dragory
804223489d
Docs updates
2019-10-05 14:46:00 +03:00
Dragory
40d909fa39
automod: add alert action support
2019-09-30 00:47:19 +03:00
Dragory
0a8383ef42
Fix error when getUrlsInString doesn't match any URLs
2019-09-29 15:57:08 +03:00
Dragory
b603edb7d7
Add usageGuide/configurationGuide to PluginInfo, make trimPluginDescription dynamic
...
Previously trimPluginDescription was hardcoded to trim 6 spaces from
the beginning of every line. Now the function looks at the last non-
empty line and uses its indentation to determine how many spaces to
trim from the other lines.
2019-09-29 15:55:17 +03:00
Dragory
e5204d844b
docs api: plugin options -> defaultOptions, tweak config schema formatting
2019-09-29 15:54:19 +03:00
Dragory
c4ba494904
Update to Knub 24. Update Node typings to fix error with [util.inspect.custom] property.
2019-09-22 17:06:22 +03:00
Dragory
12f25346ec
More documentation work
2019-08-22 02:58:32 +03:00
Dragory
e5b8409428
Continue work on new automod plugin
2019-08-22 01:23:19 +03:00
Dragory
9e69b3bf5b
Auto-generate plugin docs (WIP)
2019-08-22 01:22:26 +03:00
Dragory
7468e5348d
Make warn/kick/ban actions in ModActions available to other plugins via public methods
2019-08-22 01:18:36 +03:00
Dragory
9dc0b9613a
Add property/type for plugin info in ZeppelinPlugin
2019-08-21 22:07:13 +03:00
Dragory
846e623e3e
Initial work on new automod
2019-08-18 16:40:15 +03:00
Miikka Virtanen
8914fe83c4
Fix error if the bot attempts to save a message that was already saved
2019-08-14 10:57:39 +03:00
Miikka Virtanen
5861524914
Fix error when calling resolveUserId with null/missing user id
2019-08-14 10:55:34 +03:00
Miikka Virtanen
d6170abeeb
Fix issues with long reasons in !ban/softban/kick. Display an error if a ban/softban/kick command fails.
2019-08-14 10:53:35 +03:00
Dragory
0b2d7bc124
Fix userid/channelid argument types; rename userid/userID to userId for consistency; misc code style fix
2019-08-10 01:48:02 +03:00
Dragory
5dbc37f8e3
ChannelArchiver: include message reactions in archive
2019-08-10 00:43:58 +03:00
Dragory
e75b87e8d5
ChannelArchiver: break out of the loop if there are no more messages to archive
2019-08-10 00:28:18 +03:00
Dragory
72dc016cc3
ChannelArchiver: fix archiving of the wrong channel
2019-08-10 00:22:25 +03:00
Dragory
29fd91ed49
Add ChannelArchiver plugin
2019-08-10 00:13:55 +03:00
Dragory
20d7b2f145
Add standardized function for asking the user to confirm an action
2019-08-10 00:13:35 +03:00
Dragory
1912961451
Add a standardized way of checking for bot owners in global plugins
2019-08-10 00:12:16 +03:00