-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yml
More file actions
126 lines (105 loc) · 4.47 KB
/
config.yml
File metadata and controls
126 lines (105 loc) · 4.47 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# =============================================================
# VANTRIX CONFIGURATION
# =============================================================
# INSTRUCTIONS:
# 1. Replace the example values with your own information
# 2. Save this file
# 3. Start the selfbot
# =============================================================
# YOUR ACCOUNT AND SERVER SETTINGS
selfbot:
# PUT YOUR DISCORD TOKEN HERE (NEVER SHARE THIS WITH ANYONE)
token: ""
# SERVER TO PROTECT (GET THIS ID BY RIGHT-CLICKING THE SERVER > COPY ID)
server_id: ""
# WHO GETS NOTIFICATIONS (GET THESE IDS BY RIGHT-CLICKING YOUR PROFILE > COPY ID)
owner1_id: ""
owner2_id: ""
# TOKEN VALIDATOR SETTINGS - MONITOR TOKEN HEALTH
token_validator:
enabled: true
interval_hours: 2
webhook_url: ""
# PROTECTION SETTINGS - WHAT HAPPENS WHEN SOMEONE RAIDS
antinuke_settings:
# WHAT TO DO WHEN SELFBOT DETECTS AN ATTACKER
# Options: "ban", "kick", or "none"
punishment: "ban"
auto_recovery: true
recover_channels: true
recover_roles: true
recover_kicks: true
recovery_delay: 1500
# HOW MANY ACTIONS TRIGGER THE PROTECTION
# If someone does more than this number of actions in the time window, they're caught
ban_limit: 5
kick_limit: 5
channel_create_limit: 5
role_create_limit: 5
channel_delete_limit: 5
role_delete_limit: 5
channel_update_limit: 5
role_update_limit: 5
member_update_limit: 5
unban_limit: 5
# ROLES TO IGNORE IN MEMBER UPDATES
# Add role IDs here that should NOT trigger anti-nuke when assigned/removed
# Useful for onboarding roles, autoroles, and other legitimate auto-assignments
# In simple terms, put the role ids of non harmful roles which you have configured as onboarding or autoroles in your server
# Get role IDs by right-clicking roles in Server Settings > Roles
ignored_role_ids: [""] # ← ADD YOUR ROLE IDs HERE (e.g., ["123456789", "987654321"])
# TIME WINDOW FOR COUNTING ACTIONS (IN MILLISECONDS)
# 36000000 = 10 hours, 3600000 = 1 hour, 600000 = 10 minutes
time_window: 36000000
# LOGGING SETTINGS - WHERE TO SEND ALERTS
logs:
# Options: "info", "warning", "error", "debug"
log_level: "info"
timestamp: true
# WEBHOOK URL FOR SENDING LOGS (LEAVE EMPTY IF NOT USING)
log_webhook: ""
# SEND DM TO OWNERS WHEN IMPORTANT THINGS HAPPEN?
log_owner_dm: false # Set to true to get DM alerts
# USERS WHO WON'T TRIGGER THE PROTECTION
# Add IDs of trusted admins you want to exclude from checks
whitelisted:
users: [""]
# ACTIVITY STATUS SETTINGS
rpc:
# SHOW "WATCHING SERVERS" OR SIMILAR STATUS?
enabled: true
# AUTOMATICALLY CHANGE STATUS MESSAGE?
rotation: true
# ONLINE STATUS SETTINGS
status:
# OPTIONS: "online", "idle", "dnd", "invisible"
type: "dnd"
# OPTIONS: "Discord Client", "Chrome", "Firefox", "Discord iOS", "Discord Android"
browser: "Discord Client"
# VANITY URL PROTECTION
vanity_reversion:
# YOUR ACCOUNT PASSWORD (REQUIRED FOR VANITY REVERSION)
# IMPORTANT: This is required for the bot to authenticate with Discord's MFA system
# to revert unauthorized vanity URL changes. Without this, the bot can
# still punish attackers but cannot automatically restore the vanity URL.
# WARNING: - Keep this password secure and never share it
# - If this field is incorrect or empty, punishment will occur but
# vanity reversion will fail silently
# - The bot will continue working normally without this feature
password: "" # ← PUT YOUR DISCORD ACCOUNT PASSWORD HERE
# FALLBACK VANITY CODE
# Most of the time Discord's event data isn't cached properly and oldVanity comes as undefined/null
# In such cases, the bot will revert to this vanity code instead of failing
# IMPORTANT: Put ONLY the vanity code (e.g., "myserver"), NOT the full link (discord.gg/myserver)
# If left empty, the bot will remove the vanity URL when old vanity is unavailable
# This ensures your server ALWAYS has a working vanity URL after an attack
fallback_vanity: "" # ← PUT YOUR VANITY CODE HERE (just "myserver", not "discord.gg/myserver")
# VANITY PROTECTION MODE
# "normal" - balanced, uses audit logs for attacker detection
# "audit" - uses guildAuditLogEntryCreate event for detection (recommended)
# "fast" - instant reversion, no punishment, maximum speed
vanity_mode: "audit"
# =============================================================
# For help: https://discord.gg/NUPbGzY8Be
# Made with ❤️ by Team Zyrus
# =============================================================