-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
46 lines (37 loc) · 1.87 KB
/
.env.example
File metadata and controls
46 lines (37 loc) · 1.87 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
# =============================================================================
# VEIL SECURITY BOT - STFC VERIFICATION & UPDATES
# =============================================================================
# Copy this file to .env and fill in your values
# ========== DISCORD ===========
DISCORD_TOKEN=YOUR_BOT_TOKEN_HERE
GUILD_ID=YOUR_SERVER_ID_HERE
# ========== ROLES ===========
OPS71_ROLE_ID=YOUR_OPS71_ROLE_ID
VERIFY_ROLE_ID=YOUR_VERIFY_ROLE_ID (optional)
ADMIN_ROLE_ID=YOUR_ADMIN_ROLE_ID (optional)
# Server roles are matched by name (e.g., role named "118" for server 118)
# Create Discord roles with names: 118, 106, 125, 114, 112, 110, 109, 108, 107, etc.
# The bot will automatically assign these based on the player's server ID from stfc.pro
# ========== CHANNELS ===========
VERIFY_CHANNEL_ID=YOUR_VERIFY_CHANNEL_ID
LOG_CHANNEL_ID=YOUR_LOG_CHANNEL_ID (optional)
# ========== VERIFICATION SETTINGS ===========
# Minimum OPS level required for OPS71 role assignment
MIN_OPS_LEVEL=71
# How often to update player data from stfc.pro (in hours)
UPDATE_CHECK_HOURS=24
# Database file path (stores stfc.pro links for periodic updates)
DB_PATH=stfc_players.db
# ========== LOGGING ===========
DEBUG=0
# Set DEBUG=1 for verbose logging
# =============================================================================
# NOTES:
# - DISCORD_TOKEN: Get from Discord Developer Portal
# - GUILD_ID: Right-click your server in Discord, select "Copy Server ID"
# - All ROLE_IDs: Right-click the role in Discord, select "Copy Role ID"
# - All CHANNEL_IDs: Right-click the channel in Discord, select "Copy Channel ID"
# - For server role assignment during verification:
# * Create a Discord role with name matching the server ID (e.g., "118")
# * The bot will find and assign this role based on player's server from stfc.pro
# =============================================================================