diff --git a/keyserver/src/responders/farcaster-webhook-responders.js b/keyserver/src/responders/farcaster-webhook-responders.js --- a/keyserver/src/responders/farcaster-webhook-responders.js +++ b/keyserver/src/responders/farcaster-webhook-responders.js @@ -14,6 +14,12 @@ taggedCommFarcasterInputValidator, ); + const threadHashTagRegex: RegExp = new RegExp('#createathread', 'i'); + const foundCreateThreadHashTag = threadHashTagRegex.test(event.data.text); + if (!foundCreateThreadHashTag) { + return; + } + console.log(event); }