From c712d97189cca8cbe1efc0039a510b802219a0ab Mon Sep 17 00:00:00 2001 From: Oliver Date: Fri, 30 Jan 2026 17:55:49 -0700 Subject: [PATCH] Allow gif links for chat images (closes #41) --- module/tweaks/chatImageLinks.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/tweaks/chatImageLinks.mjs b/module/tweaks/chatImageLinks.mjs index 8d17d0b..9c7ec3c 100644 --- a/module/tweaks/chatImageLinks.mjs +++ b/module/tweaks/chatImageLinks.mjs @@ -10,6 +10,7 @@ const IMAGE_TYPES = [ `jpeg`, `webp`, `svg`, + `gif`, ]; export function chatImageLinks() { @@ -95,6 +96,7 @@ function chatMessageHandler(chatLog, message, options) { // Prevent cancellation for non-matching messages const match = message.match(pattern); + console.log({match, message, pattern}); if (!match) { return }; mutateAndResendMessage(chatLog, message, options);