Skip to content

Commit

Permalink
Merge pull request #390 from Greenfoot5/testing
Browse files Browse the repository at this point in the history
Fixed ⚠ not being displayed correctly
  • Loading branch information
lenscas authored Mar 15, 2024
2 parents 1169f72 + a7c8d64 commit a0ee29a
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!*** :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 =
'***WARNING! ***\nLinks inside messages that ping everyone/here are often scam messages.\nYes, this _especially_ includes discord server invites.\n\n' +
'***WARNING! :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 a0ee29a

Please sign in to comment.