all repos — stealth-developers @ 2a451ccea8ab4d5e21eb8469ce571d46920ad06f

feat: check first comment for flagged words
willow hai@wlo.moe
Sat, 19 Jul 2025 00:22:39 +0100
commit

2a451ccea8ab4d5e21eb8469ce571d46920ad06f

parent

b407bb1efbde3f4d5006a35ccea44d93d2480d89

1 files changed, 4 insertions(+), 2 deletions(-)

jump to
M src/utils/forumWatcher.tssrc/utils/forumWatcher.ts

@@ -141,8 +141,10 @@ "exploits",

]; for (const post of newPosts) { - const includesWord = flaggedWords.some((word) => - post.name.toLowerCase().includes(word), + const includesWord = flaggedWords.some( + (word) => + post.name.toLowerCase().includes(word) || + post.firstComment.content.plainText.toLowerCase().includes(word), ); if (!includesWord) continue; const postLink = `https://roblox.com/communities/${forumConfig.groupId}/${forumConfig.groupName}#!/forums/${forumConfig.channelId}/post/${post.id}`;