3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-06 18:47:20 +00:00
Commit graph

84 commits

Author SHA1 Message Date
seeyebe
375cab7cbd fix: improve loose matching regex to reduce false positives in matchWords trigger 2025-06-01 20:32:35 +03:00
Dragory
062f0d1a4e
feat: reduce default loose_matching_threshold to 1 to avoid false positives 2025-06-01 02:58:01 +00:00
Dragory
d8fb471b07
fix: bandaid fix for regex override merging 2025-05-31 21:59:14 +00:00
Dragory
aaf4e02c5f
chore: format 2025-05-31 21:19:56 +03:00
Dragory
8c2058821f
feat: replace Phisherman with FishFish 2025-05-31 21:19:53 +03:00
Dragory
83d35052c3
refactor: move defaults to config schemas 2025-05-23 01:12:52 +00:00
Dragory
09eb8e92f2
feat: update to djs 14.19.3, node 22, zod 4 2025-05-22 22:35:48 +00:00
Ruby
81109314ea
chore: formatting 2025-01-03 15:15:45 +01:00
Dragory
395a750e9d
refactor: don't create 'name' property in config dynamically 2024-11-10 13:47:40 +02:00
Dragory
5772e27cda
refactor: convert /backend to ESM 2024-04-09 20:57:18 +03:00
Dragory
008ac1bec0
fix: missing imports 2024-01-27 15:04:39 +02:00
Dragory
1518d58e25
Merge master 2024-01-27 14:35:11 +02:00
Dragory
873bf7eb99
chore: run prettier 2024-01-27 14:23:13 +02:00
Dragory
59c5176cbd
Merge remote-tracking branch 'origin/master' into iots_to_zod 2024-01-27 14:12:06 +02:00
Dragory
b0a9cf1bcd
fix: tweaks to config types 2024-01-27 12:46:48 +02:00
Dragory
e4b098b563
fix: automod types 2024-01-15 22:39:27 +00:00
Dragory
28692962bc
refactor: replace io-ts with zod 2024-01-14 14:25:42 +00:00
Ben Richeson
8a4a2d3647
feat: option to trigger antiraid_level only on change (#424)
Co-authored-by: Almeida <github@almeidx.dev>
2023-12-29 12:52:43 +00:00
hawkeye7662
1cb8431a02
Fix loose matching for automod (#428)
Added a missing closing bracket for the regex to work.

Co-authored-by: Almeida <github@almeidx.dev>
2023-12-29 12:29:28 +00:00
Tiago R
2b5a5e636a almeida review.mp4
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
bfc90093dc yeet renderUserUsername
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
4d0161a49f oh god almeida looked at my code
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
10bb0b67bc some more patches thanks to ruby
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Almeida
047ab872df
fix parsing of file extension in match_attachment_type trigger (#425) 2023-12-27 18:44:35 +00:00
Dragory
63c41f0278 feat: new username support vol 2 2023-06-24 12:07:58 +00:00
Dragory
5f194bf1ef
chore: fix lint errors; tweak lint rules 2023-05-08 22:58:51 +03:00
Dragory
16fa19d3e9
chore: prettier 2023-05-08 21:33:40 +03:00
Tiago R
06877e90cc
Update djs & knub (#395)
* update pkgs

Signed-off-by: GitHub <noreply@github.com>

* new knub typings

Signed-off-by: GitHub <noreply@github.com>

* more pkg updates

Signed-off-by: GitHub <noreply@github.com>

* more fixes

Signed-off-by: GitHub <noreply@github.com>

* channel typings

Signed-off-by: GitHub <noreply@github.com>

* more message utils typings fixes

Signed-off-by: GitHub <noreply@github.com>

* migrate permissions

Signed-off-by: GitHub <noreply@github.com>

* fix: InternalPoster webhookables

Signed-off-by: GitHub <noreply@github.com>

* djs typings: Attachment & Util

Signed-off-by: GitHub <noreply@github.com>

* more typings

Signed-off-by: GitHub <noreply@github.com>

* fix: rename permissionNames

Signed-off-by: GitHub <noreply@github.com>

* more fixes

Signed-off-by: GitHub <noreply@github.com>

* half the number of errors

* knub commands => messageCommands

Signed-off-by: GitHub <noreply@github.com>

* configPreprocessor => configParser

Signed-off-by: GitHub <noreply@github.com>

* fix channel.messages

Signed-off-by: GitHub <noreply@github.com>

* revert automod any typing

Signed-off-by: GitHub <noreply@github.com>

* more configParser typings

Signed-off-by: GitHub <noreply@github.com>

* revert

Signed-off-by: GitHub <noreply@github.com>

* remove knub type params

Signed-off-by: GitHub <noreply@github.com>

* fix more MessageEmbed / MessageOptions

Signed-off-by: GitHub <noreply@github.com>

* dumb commit for @almeidx to see why this is stupid

Signed-off-by: GitHub <noreply@github.com>

* temp disable custom_events

Signed-off-by: GitHub <noreply@github.com>

* more minor typings fixes - 23 err left

Signed-off-by: GitHub <noreply@github.com>

* update djs dep

* +debug build method (revert this)

Signed-off-by: GitHub <noreply@github.com>

* Revert "+debug build method (revert this)"

This reverts commit a80af1e729.

* Redo +debug build (Revert this)

Signed-off-by: GitHub <noreply@github.com>

* uniform before/after Load shorthands

Signed-off-by: GitHub <noreply@github.com>

* remove unused imports & add prettier plugin

Signed-off-by: GitHub <noreply@github.com>

* env fixes for web platform hosting

Signed-off-by: GitHub <noreply@github.com>

* feat: knub v32-next; related fixes

* fix: allow legacy keys in change_perms action

* fix: request Message Content intent

* fix: use Knub's config validation logic in API

* fix(dashboard): fix error when there are no message and/or slash commands in a plugin

* fix(automod): start_thread action thread options

* fix(CustomEvents): message command types

* chore: remove unneeded type annotation

* feat: add forum channel icon; use thread icon for news threads

* chore: make tslint happy

* chore: fix formatting

---------

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: almeidx <almeidx@pm.me>
Co-authored-by: Dragory <2606411+Dragory@users.noreply.github.com>
2023-04-01 14:58:17 +03:00
Almeida
7fb0d02adf
fix discord-api-types imports & usage of removed guild features (#335) 2022-06-26 14:09:27 +03:00
almeidx
7259f6017e
chore: remove double parenthesis in match_attachment_type trigger 2022-02-20 02:05:57 +00:00
Dragory
09125956a0
chore: run prettier on unformatted files 2021-11-03 16:54:21 +02:00
metal
446f188e16
feat: add automod thread_archive and thread_unarchive triggers (#292)
Co-authored-by: Almeida <almeidx@pm.me>
2021-10-31 22:08:29 +02:00
Almeida
6709115166
feat: add thread_create_spam automod trigger (#273) 2021-10-31 19:23:26 +02:00
Almeida
92dfbca362
feat: add thread_create and thread_delete automod triggers (#272)
Co-authored-by: metal <admin@metalruller.com>
2021-10-31 17:21:53 +02:00
Dragory
13c94a81cc
feat: Phisherman integration 2021-10-31 17:17:31 +02:00
Dragory
44f5b77cc7
perf(automod): also merge regexes in match_links, match_words 2021-10-17 08:03:38 +03:00
Dragory
d874617e48
perf: merge regexes in match_regex trigger while taking backreferences into account 2021-10-09 12:50:47 +03:00
Dragory
ef53ee64c6
fix: revert regex batching 2021-10-05 22:10:56 +03:00
Dragory
04c81727fb
debug+ 2021-10-05 21:51:29 +03:00
Dragory
b951feeabd
fix(automod): fix empty patterns list in match_regex matching every message 2021-10-05 21:48:02 +03:00
Dragory
392e2da2d1
perf(automod): bundle automod regex patterns for potentially increased performance 2021-10-05 21:30:35 +03:00
Dragory
ac79eb09f5
Reformat all files with Prettier 2021-09-11 19:06:51 +03:00
Dragory
70fb0b5baa
Ignore mime type charset and other extra details in match_mime_type 2021-09-05 21:01:13 +03:00
Hiroyuki
6a45ce67fa
feat(automod): MIME type trigger (#247) 2021-09-04 19:18:33 +03:00
Dragory
f208dc3013
matchAttachmentType fix 2021-08-18 22:44:54 +03:00
Dragory
e3c9dbf851
Hotfix 6 2021-08-18 22:29:46 +03:00
almeidx
5de35f711d
use Util methods for escaping inline code and code blocks 2021-07-29 17:35:27 +01:00
almeidx
74a676913e
user.tag 2021-07-29 00:37:19 +01:00
Dark
0822fc15e5
Type fixes for djs 2021-06-30 04:56:56 +02:00
Dark
f9dd82f201
Add member_leave automod trigger
At least i think so - cant test it until knub changes are done
2021-06-17 02:30:12 +02:00