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

659 commits

Author SHA1 Message Date
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
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
bff718de27 Fix crash caused by missing !invite code parameter 2021-05-03 18:29:33 +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
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
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
Usoka
67f6ddee16 Fix 0 not being accepted in SetCounterCmd (#186) 2021-04-28 22:03:26 +03:00
Shoaib Sajid
25ff030dac Fix typo in automod docs (#185) 2021-04-28 22:02:25 +03:00
Almeida
4ed4b38549 fix(SetCounterCmd): misleading messages (#188) 2021-04-28 21:59:56 +03:00
Dragory
a65c34dad0 Check !bansearch permissions before running search 2021-04-28 21:47:45 +03:00
Dragory
016189bf9b Optimize !search and !bansearch performance for non-regex searches 2021-04-28 21:44:15 +03:00
Dragory
0d872e5324 !ban: only run isBanned() if member is not found 2021-04-28 21:24:59 +03:00
Dragory
2386116c3c Optimize isBanned() and handle errors properly 2021-04-28 21:23:51 +03:00
Dragory
ef60fa4b0a 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
ec0ac57f8b Add permission checks and alerts to AutoDelete 2021-04-11 14:20:10 +03:00
Dragory
984dd64214 Add permission checks and alerts to Automod 'reply' action 2021-04-11 14:13:25 +03:00
Dragory
5b88ad5865 Fix error when using an unknown counter from Automod 2021-04-11 13:44:48 +03:00
Dragory
e371c66fed Add allowed mentions back for reminders 2021-04-10 23:39:23 +03:00
Dragory
d10adc5a3e Add dev command to check server eligibility 2021-04-10 23:36:21 +03:00
Dragory
97fa0c59b2 starboard: use default embed color by default instead of black 2021-04-10 16:30:03 +03:00
Dragory
087c266e4d Handle errors when sending message in automod 'alert' action 2021-04-04 22:30:21 +03:00
Dragory
8fa4c944a3 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
c20dd17722 Fix missing reason in log entries for manual kicks 2021-04-02 21:26:54 +03:00
Dragory
f66b19994f Clean up unnecessary optional chaining 2021-04-02 20:17:29 +03:00
Dragory
4ee5a59dc8 !server: fix banner URL not being masked; rename links from 'URL' to 'Link' 2021-04-02 20:15:13 +03:00