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

816 commits

Author SHA1 Message Date
Dragory
fc6592d3f8 Add progress indicator to !massban. Tweak log/event ignoring to be more reliable for massbans. 2021-05-22 13:27:45 +03:00
Dragory
05778e3681 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2021-05-19 11:31:46 +03:00
Dragory
192f1e1d51 Disable MIME type sniffing in archives 2021-05-19 11:31:26 +03:00
Nils
ea96ab7853 Allow target user to be mentioned in channels (#215) 2021-05-12 02:32:29 +03:00
Dragory
7560a3eb2e Remove conflicting !roleinfo alias 2021-05-08 00:55:56 +03:00
Dragory
8414e83d3b Add better error reporting to !reaction_roles clear 2021-05-08 00:47:41 +03:00
Dragory
049a54ded8 Update STAGE_CHANNEL_ICON URL 2021-05-06 21:27:58 +03:00
Dragory
1803f1d242 Add ucfirst as an alias for tag function upperFirst 2021-05-06 21:27:05 +03:00
Almeida
5f6df19be1 added better support for stage channels on channelinfo (#197) 2021-05-06 21:25:17 +03:00
Almeida
2a8aac34c7 refactor(*): remove unused exception variables (#193) 2021-05-06 21:23:47 +03:00
Usoka
4f5f196f0a Add various new tag functions (#195) 2021-05-06 21:21:55 +03:00
Almeida
6656df613c Add !roleinfo and !emojiinfo (#198) 2021-05-06 21:19:57 +03:00
Almeida
22bb576b4b added can_unban permission for the unban command (#200) 2021-05-06 21:13:06 +03:00
Dragory
8bd9a3a71a Use longer lock timeout in !counters reset_all 2021-05-03 20:52:42 +03:00
Dragory
7ea0881648 Show loading message for !counters reset_all 2021-05-03 20:51:16 +03:00
Dragory
b53dcb2043 Fix alias precedence for !counters list 2021-05-03 20:47:03 +03:00
Dragory
323aaf8f16 Tweak counter reset logic (v2) 2021-05-03 20:45:33 +03:00
Dragory
238c0b7da6 Tweak counter reset logic 2021-05-03 20:42:43 +03:00
Dragory
ed10b8753e Fix !counters reset_all not also removing triggers 2021-05-03 20:41:39 +03:00
Dragory
9e1586e90e Fix hide_case being required 2021-05-03 19:40:59 +03:00
Dragory
caf1b7aebe Fix error when adding counter without triggers 2021-05-03 19:33:59 +03:00
Dragory
2c732d970f Add commands to list and reset counters 2021-05-03 19:33:30 +03:00
Dragory
b0fd29f098 Add hide_case option to automod mod actions 2021-05-03 18:49:52 +03:00
Dragory
2ba7e63546 Fix changeCounterValue() not considering initial value
If a counter was initialized via the INSERT in changeCounterValue(),
its value would be set to the change value rather than the specified
initial value. For example, a counter with an initial value of 1000
and a change of 5 would get initialized to 5, not 1005.
2021-05-03 18:37:09 +03:00
Dragory
1f134bf66b Improve invite detection
Only a-z, 0-9, and - are now considered valid invite code characters.
Fix some unnecessary case sensitivity in the invite regexes.
2021-05-03 18:34:50 +03:00
Dragory
bff718de27 Fix crash caused by missing !invite code parameter 2021-05-03 18:29:33 +03:00
Dragory
8cdc1b5fd8 Tweak RegExpRunner timeouts 2021-04-29 02:43:04 +03:00
Dragory
842c91b54d Add eager permission check in PostAlertOnMemberJoinEvt 2021-04-29 02:40:29 +03:00
Dragory
a2dbf3d50e Remove extraneous reaction removal
The reaction would already be removed at the end of the function
2021-04-29 02:34:58 +03:00
Dragory
1c8ba55e45 Add member to the Automod context for mod action triggers 2021-04-29 02:29:23 +03:00
Dragory
cb5454534a Emit 'unban' event from !unban 2021-04-29 02:22:39 +03:00
Dragory
c6237b200c Remove leftover console.log() 2021-04-29 02:15:06 +03:00
Dragory
85e8597234 Add missing role locks for unmutes 2021-04-29 01:41:02 +03:00
Dragory
a7cf96b30b Fix tNormalizedNullOptional formatting in schema view in docs 2021-04-29 01:12:52 +03:00
Nils
0fc7599733 Fix !where and !follow not pinging requestor (#191) 2021-04-29 01:01:11 +03:00
Dragory
21073ef147 Change -allow-mentions to enable all mentions in !post
Previously -allow-mentions toggled mentioned roles mentionable and
then back after the message was posted. This was somewhat unintuitive.
2021-04-29 01:00:08 +03:00
Dragory
34f408833d Fix user mention not working in Automod reply action 2021-04-29 00:56:56 +03:00
Dragory
45795a1c5f Add allowed_mentions option to Automod alert action 2021-04-29 00:50:25 +03:00
Dragory
39a3944b8c Add tAllowedMentions
Mirrors AllowedMentions type from Eris
2021-04-29 00:49:37 +03:00
Dragory
40acab8868 Add tNormalizedNullOrUndefined and tNormalizedNullOptional
tNormalizedNullOrUndefined:
io-ts type that accepts null and undefined and normalizes both to
undefined

tNormalizedNullOptional:
io-ts type that accepts the specified type or null/undefined.
if null/undefined, the value is normalized to undefined.
this allows creating optional config options that can be "removed" by
setting their value to null.
2021-04-29 00:46:24 +03:00
Dragory
0a0646174c Small tweaks to set_slowmode Automod action 2021-04-28 23:26:43 +03:00
Nils
0715a5c927 Add automod action for setting slowmode (#167) 2021-04-28 23:18:23 +03:00
Nils
666e5f7448 Allow filtering !cases to certain types using switches (#168) 2021-04-28 22:51:09 +03:00
Nils
c2c3470994 Allow automod to issue tempbans (#189) 2021-04-28 22:42:54 +03:00
Dragory
cab20fa295 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2021-04-28 22:40:02 +03:00
Dragory
826bcfdd50 Add postInCaseLog option for mod action Automod actions; allow forcing case log even when log_automatic_actions is disabled 2021-04-28 22:39:49 +03:00
Nils
66cf2296dc Add -update/-up argument to automatically update latest/chosen case with !clean (#173) 2021-04-28 22:15:16 +03:00
Shoaib Sajid
01480d584e Add !infractions as an alias for !cases (#177) 2021-04-28 22:08:37 +03:00
Nils
abc9da0e68 Allow Automod to distinguish whether mod actions are manual or automatic (#179) 2021-04-28 22:06:33 +03:00
Shoaib Sajid
a6740dfbfb Add !reminder as an alias for !remind (#181) 2021-04-28 22:04:01 +03:00