Commit graph

1793 commits

Author SHA1 Message Date
Shoaib Sajid
bdb5c92e79
Add Readme Banner! (#190) 2021-05-06 21:41:30 +03:00
Dragory
6427d9a5a9
Update STAGE_CHANNEL_ICON URL 2021-05-06 21:27:58 +03:00
Dragory
54b1ea8053
Add ucfirst as an alias for tag function upperFirst 2021-05-06 21:27:05 +03:00
Almeida
8846a016ab
added better support for stage channels on channelinfo (#197) 2021-05-06 21:25:17 +03:00
Almeida
a4a7eb41b0
refactor(*): remove unused exception variables (#193) 2021-05-06 21:23:47 +03:00
Usoka
38ab38645b
Add various new tag functions (#195) 2021-05-06 21:21:55 +03:00
Almeida
eab26a28df
Add missing duration format to docs (#196) 2021-05-06 21:20:37 +03:00
Almeida
519cb4ece2
Add !roleinfo and !emojiinfo (#198) 2021-05-06 21:19:57 +03:00
Almeida
fb4f70a29c
added can_unban permission for the unban command (#200) 2021-05-06 21:13:06 +03:00
Dragory
b60a4ce8fc
Use longer lock timeout in !counters reset_all 2021-05-03 20:52:42 +03:00
Dragory
578542e54e
Show loading message for !counters reset_all 2021-05-03 20:51:16 +03:00
Dragory
3072f29044
Fix alias precedence for !counters list 2021-05-03 20:47:03 +03:00
Dragory
724abc89b9
Tweak counter reset logic (v2) 2021-05-03 20:45:33 +03:00
Dragory
7fc86d34e9
Tweak counter reset logic 2021-05-03 20:42:43 +03:00
Dragory
647c2eb85a
Fix !counters reset_all not also removing triggers 2021-05-03 20:41:39 +03:00
Dragory
ddaf3c98ee
Fix hide_case being required 2021-05-03 19:40:59 +03:00
Dragory
9bae5eaea7
Fix error when adding counter without triggers 2021-05-03 19:33:59 +03:00
Dragory
a568e86d78
Add commands to list and reset counters 2021-05-03 19:33:30 +03:00
Dragory
25a3350196
Add hide_case option to automod mod actions 2021-05-03 18:49:52 +03:00
Dragory
31d7748bf4
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
49577e37ca
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
9c501a8098
Fix crash caused by missing !invite code parameter 2021-05-03 18:29:33 +03:00
Dragory
edd78fc9c6
Tweak RegExpRunner timeouts 2021-04-29 02:43:04 +03:00
Dragory
d3d51a5308
Add eager permission check in PostAlertOnMemberJoinEvt 2021-04-29 02:40:29 +03:00
Dragory
37fa9c736d
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
abdf54e134
Add member to the Automod context for mod action triggers 2021-04-29 02:29:23 +03:00
Dragory
72459e1d93
Emit 'unban' event from !unban 2021-04-29 02:22:39 +03:00
Dragory
ec81f63b5d
Remove leftover console.log() 2021-04-29 02:15:06 +03:00
Dragory
74cc58aeaa
Add missing role locks for unmutes 2021-04-29 01:41:02 +03:00
Dragory
0a8239996a
Fix tNormalizedNullOptional formatting in schema view in docs 2021-04-29 01:12:52 +03:00
Nils
b62a6685e0
Fix !where and !follow not pinging requestor (#191) 2021-04-29 01:01:11 +03:00
Dragory
b8c436731c
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
b541d5d087
Fix user mention not working in Automod reply action 2021-04-29 00:56:56 +03:00
Dragory
eb9cd080fd
Add allowed_mentions option to Automod alert action 2021-04-29 00:50:25 +03:00
Dragory
f2cf46e734
Add tAllowedMentions
Mirrors AllowedMentions type from Eris
2021-04-29 00:49:37 +03:00
Dragory
7e40308a8a
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
73f0b7e30b
Small tweaks to set_slowmode Automod action 2021-04-28 23:26:43 +03:00
Nils
dd9c52bc43
Add automod action for setting slowmode (#167) 2021-04-28 23:18:23 +03:00
Nils
13f75c9b54
Allow filtering !cases to certain types using switches (#168) 2021-04-28 22:51:09 +03:00
Nils
903a2369c8
Allow automod to issue tempbans (#189) 2021-04-28 22:42:54 +03:00
Dragory
3d549b4e78
Merge branch 'master' of github.com:Dragory/ZeppelinBot 2021-04-28 22:40:02 +03:00
Dragory
45e81848a7
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
20b1c869cd
Add -update/-up argument to automatically update latest/chosen case with !clean (#173) 2021-04-28 22:15:16 +03:00
Shoaib Sajid
dfc1bf2ba0
Add !infractions as an alias for !cases (#177) 2021-04-28 22:08:37 +03:00
Nils
51db942d97
Allow Automod to distinguish whether mod actions are manual or automatic (#179) 2021-04-28 22:06:33 +03:00
Shoaib Sajid
90b6f4bc86
Add !reminder as an alias for !remind (#181) 2021-04-28 22:04:01 +03:00
Usoka
6b9131c353
Fix 0 not being accepted in SetCounterCmd (#186) 2021-04-28 22:03:26 +03:00
Shoaib Sajid
00f368d62b
Fix typo in automod docs (#185) 2021-04-28 22:02:25 +03:00
Almeida
4448659dc0
fix(SetCounterCmd): misleading messages (#188) 2021-04-28 21:59:56 +03:00
Dragory
aa43f05173
Check !bansearch permissions before running search 2021-04-28 21:47:45 +03:00