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

1010 commits

Author SHA1 Message Date
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
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
9c501a8098
Fix crash caused by missing !invite code parameter 2021-05-03 18:29:33 +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
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
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
Dragory
ee615c1f0e
Optimize !search and !bansearch performance for non-regex searches 2021-04-28 21:44:15 +03:00
Dragory
c7c1b1f96f
!ban: only run isBanned() if member is not found 2021-04-28 21:24:59 +03:00
Dragory
d747ac3982
Optimize isBanned() and handle errors properly 2021-04-28 21:23:51 +03:00
Dragory
e69b581282
AutoDelete: ignore error 10008 Unknown Message
These errors are generally from messages that were deleted either by
automod or another bot, so safe to ignore.
2021-04-11 16:16:44 +03:00
Dragory
eb221859d8
Add permission checks and alerts to AutoDelete 2021-04-11 14:20:10 +03:00
Dragory
e6461d541d
Add permission checks and alerts to Automod 'reply' action 2021-04-11 14:13:25 +03:00
Dragory
ad8aab3937
Fix error when using an unknown counter from Automod 2021-04-11 13:44:48 +03:00
Dragory
e0a659be4a
Add allowed mentions back for reminders 2021-04-10 23:39:23 +03:00
Dragory
e57175dcc3
Add dev command to check server eligibility 2021-04-10 23:36:21 +03:00
Dragory
5f3c94d064
starboard: use default embed color by default instead of black 2021-04-10 16:30:03 +03:00
Dragory
186ac65924
Handle errors when sending message in automod 'alert' action 2021-04-04 22:30:21 +03:00
Dragory
fdaf386193
Temp fix to role change detection on specific servers: cache all members on bot start on these server 2021-04-02 21:31:11 +03:00
Dragory
f5504724b1
Fix missing reason in log entries for manual kicks 2021-04-02 21:26:54 +03:00
Dragory
3f34a463e9
Clean up unnecessary optional chaining 2021-04-02 20:17:29 +03:00