fix(discord): improve kingfisher.discord.1 regex

Signed-off-by: Luke Young <bored-engineer@users.noreply.github.com>
This commit is contained in:
Luke Young 2026-01-30 15:15:31 -08:00 committed by GitHub
commit 87a92f94d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,11 +4,11 @@ rules:
pattern: |
(?xi)
(
https://discord\.com/api/webhooks/
\d{18}
https://discord(app)?\.com/api/webhooks/
[0-9]{17,20}
)/
(
[0-9a-z_\-]{68}
[0-9a-z_\-]{60,68}
)
\b
pattern_requirements:
@ -73,4 +73,4 @@ rules:
confidence: medium
examples:
- discord = 12345678901234567
- 'bot_id: "123456789012345678"'
- 'bot_id: "123456789012345678"'