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

832 commits

Author SHA1 Message Date
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
b09e7943b3 Improve invite detection
Several less common patterns are now detected:
discord.gg/anything/here/<code>
discord.com/invite/<code>/anything/here
discordapp.com/invite/<code>/anything/here

Potential invite URLs are also parsed as URLs to clean out any
shenanigans related to valid-but-uncommon URL formats.
2021-04-28 21:12:23 +03:00
Dragory
a05b1f7bb8 Attempt another fix for counter decay deadlocks 2021-04-14 00:19:39 +03:00
Dragory
fc35f690c3 Fix crash from passing an invalid regex source to TRegex validation function 2021-04-13 23:50:39 +03:00
Dragory
0ea736a10d Attempt to fix occasional deadlock in counter decays 2021-04-13 23:35:19 +03:00
Dragory
893aa50878 Fix handling of partial server responses in simpleDiscordAPIRequest() 2021-04-12 13:04:04 +03:00
Dragory
486f061356 Fix 1556909512501-MigrateUsernamesToNewHistoryTable migration stalling 2021-04-11 21:06:36 +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
08722ab643 Fix hasDiscordPermission() when checking against multiple permissions 2021-04-11 14:12:58 +03:00
Dragory
5b88ad5865 Fix error when using an unknown counter from Automod 2021-04-11 13:44:48 +03:00
Dragory
3abac506e0 Use new voice channel mentions in default voice logs 2021-04-10 23:42:39 +03:00
Dragory
d7901da409 verboseChannelMention: don't use # for voice channels 2021-04-10 23:42:24 +03:00
Dragory
e371c66fed Add allowed mentions back for reminders 2021-04-10 23:39:23 +03:00
Dragory
93d1c81685 Disable mentions by default 2021-04-10 23:37:55 +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
Dragory
92b960216d Improve antiraid trigger automod logs 2021-04-02 19:50:37 +03:00
Dragory
7088b883e2 Fix antiraid_level automod trigger not being available 2021-04-02 19:47:30 +03:00
Dragory
e29d5d0974 Fix log_automatic_actions option not working for automod actions 2021-04-02 19:36:40 +03:00
Dragory
f8c3e85c55 Update to eris#dev 2021-04-02 19:02:20 +03:00
Dragory
6ac43edda4 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2021-04-02 18:00:27 +03:00
Dragory
145451e7c0 automod: if a rule is on cooldown, allow rules after it to trigger 2021-04-02 18:00:11 +03:00
Dragory
6273b5f534 automod: fix cooldowns applying across rules 2021-04-02 17:59:41 +03:00
Dragory
76e727a43e automod: add any_message trigger 2021-04-02 17:57:04 +03:00
Dragory
3f77e598ac automod: add antiraid_level trigger 2021-04-02 17:53:16 +03:00
Dragory
aa906e4a2b automod: allow setting antiraid level to null/off with set_antiraid_level action 2021-04-02 17:52:50 +03:00
Dragory
1703f7b440 Add counter documentation/examples. Tweak counter triggers/actions in automod.
Rename change_counter automod action to add_to_counter,
add set_counter action, rename counter trigger to counter_trigger.
2021-04-02 17:44:43 +03:00
Nils
a21e4fa0c3 Allow mute and unmute to be upgraded to their force variant (#174) 2021-04-02 16:53:09 +03:00
DEX
0a8495f12f Adding av as an alias for the avatar command (#169) 2021-04-02 16:45:00 +03:00
vcokltfre
50b37ab9dd chore: update wording of permission error for -mod (#172) 2021-04-02 16:43:52 +03:00
Nils
eb7ac72cd4 Enforce unified lock names by using functions to generate lock keys (#165) 2021-04-02 16:43:13 +03:00