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

572 commits

Author SHA1 Message Date
Dragory
94756faa5d Fix !clean sometimes cleaning too many messages 2019-10-14 01:10:32 +03:00
Dragory
5b67544beb Code clean-up 2019-10-13 22:05:41 +03:00
Dragory
ca6eedb1be censor: if invite filtering is enabled, always remove unknown invites 2019-10-13 22:05:26 +03:00
Dragory
a75a551ce5 Fix Automod not clearing recent actions, leading to memory leak 2019-10-13 22:03:06 +03:00
Dragory
83c0ee93ed Remove redundant !clean alias 2019-10-13 00:58:44 +03:00
Dragory
f2251535ab !clean: --has-invite -> --has-invites, allow specifying target channel 2019-10-13 00:52:06 +03:00
Dragory
27484d261b Consolidate !clean to one command with --options, add --has-invite 2019-10-13 00:40:34 +03:00
Dragory
e3d734801d Cache invites when resolving them 2019-10-13 00:21:35 +03:00
Dragory
6ff8c8d290 SimpleCache: allow specifying max items, add better type support 2019-10-13 00:21:04 +03:00
Dragory
a0a30add2b Remove messages with !massban 2019-10-13 00:06:30 +03:00
Dragory
2d98c470ef Fix double logs from warnings 2019-10-12 19:22:07 +03:00
Dragory
83f4e0c982 excluded_message_regex -> _regexes 2019-10-11 23:44:03 +03:00
Dragory
66ccba6a2d Add TODO 2019-10-11 23:40:02 +03:00
Dragory
cfac89118e Only allow specific flags in TSafeRegex 2019-10-11 23:39:54 +03:00
Dragory
53742f1970 logs: add excluded_message_regex option 2019-10-11 23:39:36 +03:00
Dragory
713333f35e 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
40af0f2359 Automod logging improvements 2019-10-11 22:56:34 +03:00
Dragory
17aac769bb Fix error reporting in WelcomeMessage 2019-10-11 22:39:49 +03:00
Dragory
1bc9915250 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2019-10-11 22:31:59 +03:00
Dragory
166bd44069 templateFormatter: fix newlines within function calls resulting in weird behavious 2019-10-11 22:31:48 +03:00
Miikka
08c5749859
Fix missing bot feedback on bans 2019-10-11 13:51:12 +03:00
Dragory
1e1e999fc6 Fix automod example in docs 2019-10-11 04:57:37 +03:00
Dragory
c7d24edc1d Fix several flag options expecting a value 2019-10-11 04:54:05 +03:00
Dragory
5fa02badb5 Tweak default warn/kick/ban messages 2019-10-11 04:45:37 +03:00
Dragory
12a41d7af3 Fix overly verbose warn cases 2019-10-11 04:44:58 +03:00
Dragory
89ef0e48e4 Add support for tag categories 2019-10-11 02:42:52 +03:00
Dragory
0bbe9433c1 Config schema and docs text changes. Fix clickable tab area in dashboard/docs. 2019-10-11 02:09:31 +03:00
Dragory
f41d280fab Automod work. Add config examples to automod. 2019-10-11 01:59:56 +03:00
Dragory
577500af92 dashboard: use webpack for builds; use tailwindcss instead of bulma; all sorts of tweaks 2019-10-10 21:58:00 +03:00
Dragory
028786d348 Docs updates 2019-10-05 14:46:00 +03:00
Dragory
85136c11e3 automod: add alert action support 2019-09-30 00:47:19 +03:00
Dragory
490dc587a2 Fix error when getUrlsInString doesn't match any URLs 2019-09-29 15:57:08 +03:00
Dragory
a905e82492 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
86b1df0a6a docs api: plugin options -> defaultOptions, tweak config schema formatting 2019-09-29 15:54:19 +03:00
Dragory
4d7ab10fcf Update to Knub 24. Update Node typings to fix error with [util.inspect.custom] property. 2019-09-22 17:06:22 +03:00
Dragory
1681a45069 More documentation work 2019-08-22 02:58:32 +03:00
Dragory
5bbc318c68 Continue work on new automod plugin 2019-08-22 01:23:19 +03:00
Dragory
ee6d622941 Auto-generate plugin docs (WIP) 2019-08-22 01:22:26 +03:00
Dragory
6bdb05e678 Make warn/kick/ban actions in ModActions available to other plugins via public methods 2019-08-22 01:18:36 +03:00
Dragory
404039e196 Add property/type for plugin info in ZeppelinPlugin 2019-08-21 22:07:13 +03:00
Dragory
ae43d890a1 Initial work on new automod 2019-08-18 16:40:15 +03:00
Miikka Virtanen
1e549ef2a3 Fix error if the bot attempts to save a message that was already saved 2019-08-14 10:57:39 +03:00
Miikka Virtanen
a48a58bd3c Fix error when calling resolveUserId with null/missing user id 2019-08-14 10:55:34 +03:00
Miikka Virtanen
328ec379c5 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
8d8343543d 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
afd677b270 ChannelArchiver: include message reactions in archive 2019-08-10 00:43:58 +03:00
Dragory
cd07a3e32e ChannelArchiver: break out of the loop if there are no more messages to archive 2019-08-10 00:28:18 +03:00
Dragory
64f7b8cce4 ChannelArchiver: fix archiving of the wrong channel 2019-08-10 00:22:25 +03:00
Dragory
66ac85e300 Add ChannelArchiver plugin 2019-08-10 00:13:55 +03:00
Dragory
733855ac70 Add standardized function for asking the user to confirm an action 2019-08-10 00:13:35 +03:00