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

552 commits

Author SHA1 Message Date
Dragory
88576281fb Fix members leaving being logged as kicks 2020-12-23 06:00:45 +02:00
Dragory
645bbdc0a8 Fix race conditions and duplicate stars in starboard 2020-12-23 05:28:21 +02:00
Dragory
adbd2fb6e2 mod_actions: add create_cases_for_manual_actions option
This can also be used with a user override.
The override user is the audit log entry's author, i.e. the user who
did the kick/ban/unban.
2020-12-23 04:44:46 +02:00
Dragory
5f6ef16353 cases: allow using user overrides for log_automatic_actions 2020-12-23 04:27:58 +02:00
Dragory
04768a0888 starboard: add star count to embed, update automatically 2020-12-23 03:47:43 +02:00
Dragory
eab4a179ba starboard: note if the message contains audio or video attachments 2020-12-23 02:57:12 +02:00
Dragory
6614cdf57f starboard: use embed thumbnails as image if there is no image 2020-12-23 02:39:44 +02:00
Dragory
223de75157 starboard: don't include image link when discord hides it 2020-12-23 02:37:08 +02:00
Dragory
b5d659fdcc Improve empty message detection when rendering tags 2020-12-23 02:27:45 +02:00
Dragory
52c5d584a6 Improve permission level error in !ban 2020-12-22 22:13:08 +02:00
Dragory
2b3c346190 Improve !ban error messages 2020-12-22 22:10:41 +02:00
Nils
e5a392d3fc Add locks to starboard and include example of level-only starring (#125) 2020-12-20 18:32:24 +02:00
Nils
caabca1da1 Add canActOn check to !vcmoveall and more verbose error handling (#137) 2020-12-20 18:31:28 +02:00
Dragory
478cd4cf8b Fix error when unloading Logs plugin 2020-12-19 03:49:21 +02:00
Dragory
5f5befa061 Only log disabled regexes to stderr, not every timeout 2020-12-19 03:14:49 +02:00
Dragory
28f37c3bc3 Fix logic error in case creation for manual kicks 2020-12-19 02:59:41 +02:00
Dragory
da16988c99 Remove stderr for missing permissions to post mod cases
This is generally only relevant to the server admins, and is already
logged as a BOT_ALERT for them.
2020-12-18 05:26:33 +02:00
Dragory
8451998b59 Fix edge case crash when a channel deletion event is received before the last message in that channel is processed 2020-12-18 05:00:53 +02:00
Dragory
dccc14804a Apply code style from prettier 2020-12-17 04:15:08 +02:00
Dragory
6872539d4d Fix several locations that expected resolveUser() to return null 2020-12-17 04:12:49 +02:00
Dragory
127ef260f1 Fix crash from invalid user id in !addcase 2020-12-17 04:10:36 +02:00
Dragory
00d1cccebe Fix muteUser() sometimes operating on stale member info 2020-12-17 03:50:02 +02:00
Dragory
b9d561018b Fix crash if automod alert message fails to render 2020-12-17 03:44:42 +02:00
Dragory
687bffa3f4 Add pagination to !cases -mod 2020-12-15 15:18:08 +02:00
Dragory
fb2c5abb02 Fix !cases -mod giving an error about unknown member 2020-12-15 14:47:17 +02:00
Dragory
a353a9062b Type fix 2020-12-13 15:28:00 +02:00
Jonathan
194aba643b List message author IDs in bulk deletes logs (#109) 2020-12-12 22:31:35 +02:00
Nils
87b2798a96 Add moderator variable to mod action templates (#119) 2020-12-12 22:29:08 +02:00
vcokltfre
d7d9178b2a feat: add requested 'whois' as alias for !user (#122) 2020-12-12 22:24:09 +02:00
Nils
af2652eb68 Make !clean ignore pins by default, explicit -delete-pins/-p option to delete them (#121) 2020-12-12 22:23:53 +02:00
Jonathan
e3d064f2b8 Add !modlogs as an alias to !cases (#128)
Co-authored-by: Jonathan <54381371+chislxyz@users.noreply.github.com>
2020-12-12 22:22:31 +02:00
Nils
c108da4c40 Add command to move all VC Members to another VC (#126) 2020-12-12 22:15:15 +02:00
Miikka
9ce7f4d929 Merge pull request #127 from DarkView/banForcebanUpgrade
Allow ban to be upgraded to forceban if the member is not on the server
2020-12-12 22:13:17 +02:00
Dragory
d7993c7bcc Fix automod warns, kicks, and bans not using default contact methods 2020-12-03 16:55:53 +02:00
Dragory
aaabdeb978 Fix automod mutes not using default contact methods 2020-12-03 16:47:11 +02:00
Dragory
4dfcb5b195 Add 'set_channel_permission_overrides' custom event action 2020-11-22 14:59:02 +02:00
Dragory
169692f878 Add 'make_role_mentionable' and 'make_role_unmentionable' custom event actions 2020-11-22 14:14:17 +02:00
Dark
282cbaef60 Allow ban to be upgraded to forceban if the member is not on the server 2020-11-20 02:31:31 +01:00
Dragory
b681316471 Fix accidental early return in match_invites automod trigger 2020-11-09 20:43:46 +02:00
Dragory
08ec91be28 Fix config parsing issues caused by RoleAddedTrigger/RoleRemovedTrigger default config 2020-11-09 20:12:54 +02:00
Dragory
6f2d5a3784 Turn on strict TS compilation. Fix up and tweak types accordingly. 2020-11-09 20:03:57 +02:00
Dragory
7f044e24e9 Fix bug in getRecentActionCount where the fn could return a boolean or reset the count during counting 2020-11-09 03:34:01 +02:00
Dragory
d5f1bff75b Add exclude_bots option to log channels 2020-11-08 17:55:33 +02:00
Dragory
e4ed737f1c Add excluded_categories option to log channels 2020-11-08 17:52:56 +02:00
Dragory
a1cb1bb617 Include stickers in !source 2020-10-22 01:22:28 +03:00
Dragory
c68963f31d Merge branch 'master' of github.com:Dragory/ZeppelinBot 2020-10-20 17:48:01 +03:00
Dragory
122ea3e89c Fix warn notification sometimes triggering on the bot's own reaction 2020-10-20 17:47:49 +03:00
Miikka
8576def39e Merge pull request #120 from DarkView/fr_massCaseModifications
Allow hidecase, unhidecase and deletecase to take multiple case numbers
2020-10-18 17:32:19 +03:00
Dragory
fd71119098 Fixes 2020-10-16 02:13:54 +03:00
Dragory
72829cff54 Add sticker_spam automod trigger 2020-10-16 02:01:07 +03:00