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

875 commits

Author SHA1 Message Date
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
vcokltfre
e58014b70d feat: add color option to starboard (#163)
Co-authored-by: Almeida <42935195+almeidx@users.noreply.github.com>
2021-04-02 16:42:25 +03:00
Nils
dc069fc63b Add allow_mentions option to enable tags mentioning someone (#160)
Checked when a tag is posted - so a tag can have for example pings enabled if a mod executes that tag, but not if anyone below mod does it.
2021-04-02 16:40:20 +03:00
Nils
d76dcc2909 Allow kicking the user from VC on mute (#156)
* Allow kicking the user from VC on mute

If any non-id string is entered in `move_to_voice_channel`, the user is kicked from the VC instead of being moved. We do not automatically kick if the option is set to null in order to not make this a breaking change for old, intended behavior

* Add explicit config option for kicking instead of kicking on any non-id

Kicking takes precedent in this case and will take effect instead of moving to voice id
2021-04-02 16:39:22 +03:00
Jonathan
0bb107bd9b Add !reason alias for !update (#141) 2021-04-02 16:38:24 +03:00
Dragory
f8d393fad2 counters: move triggers to counters plugin; architectural tweaks 2021-04-02 16:36:45 +03:00
Dragory
dc0837988a Update Knub to v30.0.0-beta.35 2021-03-06 13:32:23 +02:00
Dragory
997a2c6ea0 Update to TypeORM v0.2.31 2021-02-15 22:32:51 +02:00