forked from mirrors/kingfisher
fix(discord): improve kingfisher.discord.1 regex
Signed-off-by: Luke Young <bored-engineer@users.noreply.github.com>
This commit is contained in:
parent
2bf9e54ad9
commit
87a92f94d9
1 changed files with 4 additions and 4 deletions
|
|
@ -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"'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue