-
Notifications
You must be signed in to change notification settings - Fork 3
/
antiscam.yaml
29 lines (29 loc) · 1.8 KB
/
antiscam.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: antiscam
rank: 2
priority: 1
event: on-message
if:
- if-any:
- message-matches-any: ["*steamconm*", "*stearncor*", "*steamncon*", "*steamcommi*", "*steamcomun*", "*steamcomminut*"]
- message-matches-any: ["*steamcommunytu*", "*steamcommunityu*", "*steancommunytiu*", "*stearncomminuty*"]
- message-matches-any: ["*d1scord*", "*dlscord*", "*discorb*", "*discojd*", "*discopd*", "*discorcl*", "*discoord*", "*discords*"]
- message-matches-any: ["*discsrd*", "*steamdiscord*", "*discrode*", "*dlsccord*", "*discordg*"]
- message-matches-any: ["*gg.gg*", "*discord-nitro*"]
- message-matches-any: ["*nitrogift*", "*discord*wales*", "*givenitro*", "*free-nitro*", "*roblox-com*"]
- message-matches-any: ["*?pantner*", "*give-nitro*", "*com/gift*", "*info/promo*", "*trade/offer*", "*giveaway/discord*", "*&token*", "*/airdrop*"]
- if-not:
- is-staff: true
do:
- send-message: [$user_id, "You have been banned from $guild for attempting to scam users. (You can Submit a ban appeal here: https://xxxxxxxxxxxxxxxxxxxxxx.com)"]
- ban-user-and-delete: 1
- send-mod-log: "User banned for linking a malicious URL."
- notify-staff:
title: "Malicious Link"
content: "$user_mention has sent a malicious link in $channel_mention - `$message_clean`"
jump_to_ctx_message: true
qa_target: $user_id # Quick action target
qa_reason: "Phishing Link/Token Grabber" # Quick action reason, optional
no_repeat_for: 30 seconds # Ensures that this notif. won't be sent again in the next 30 secs
no_repeat_key: $rule_name-1 # An unique key that identifies this notif., make sure to set this too
- send-message: [$channel_id, "Malicious Link was detected and removed (User may of been token logged)"]
- delete-last-message-sent-after: 60 seconds