Skip to content

Commit

Permalink
Merge pull request #389 from Greenfoot5/testing
Browse files Browse the repository at this point in the history
Update scam.ts
  • Loading branch information
lenscas authored Mar 14, 2024
2 parents d72eca3 + 5b37047 commit 1169f72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/protection/scam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,12 @@ export const loadCheckScam = async (): Promise<
}

let content =
'***WARNING!***\nPossible scam link detected.\n' +
'***WARNING!***\nPossible scam link detected.\n' +
message.member.toString() +
' please refrain from sending links to this site. Next offense will result in automatic moderator action.';
if (warnedStruct.reason == 'PingAndLinks') {
content =
'***WANING!***\nLinks inside messages that ping everyone/here are often scam messages.\nYes, this _especially_ includes discord server invites.\n\n' +
'***WARNING! ⚠***\nLinks inside messages that ping everyone/here are often scam messages.\nYes, this _especially_ includes discord server invites.\n\n' +
message.member.toString() +
', Please, do not send messages like this in the future or automatic moderating actions will be taken';
}
Expand Down

0 comments on commit 1169f72

Please sign in to comment.