There was an error while loading. Please reload this page.
2 parents d6ab87f + 018a912 commit 9f59eb4Copy full SHA for 9f59eb4
bot-utils.ts
@@ -188,7 +188,8 @@ export const checkBlogPosts = async (client) => {
188
189
const isScirra = scirraStaff.includes(author);
190
191
- if (postId !== newPostId && newTitle !== "") {
+ // prevent posts that are not from scirra to prevent spam
192
+ if (postId !== newPostId && newTitle !== "" && isScirra) {
193
const sent = await client.channels.cache
194
.get(
195
isScirra
0 commit comments