From 87a92f94d988aa4117fee0811bf8ec13f3b53ceb Mon Sep 17 00:00:00 2001 From: Luke Young Date: Fri, 30 Jan 2026 15:15:31 -0800 Subject: [PATCH] fix(discord): improve kingfisher.discord.1 regex Signed-off-by: Luke Young --- data/rules/discord.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/rules/discord.yml b/data/rules/discord.yml index f350c29..59df775 100644 --- a/data/rules/discord.yml +++ b/data/rules/discord.yml @@ -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"' \ No newline at end of file + - 'bot_id: "123456789012345678"'