-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
52 lines (44 loc) · 2.19 KB
/
.env.example
File metadata and controls
52 lines (44 loc) · 2.19 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
# =============================================================================
# VEIL SECURITY BOT - STFC RANK-BASED 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
# ========== STFC SERVER ===========
# The STFC server ID that users must be on to verify (e.g., 106, 107, 108, etc.)
STFC_SERVER_ID=106
# ========== ROLES ===========
# Copy these role IDs from Discord (right-click role → Copy Role ID)
MEMBER_ROLE_ID=your_member_role_id_here
COMMODORE_ROLE_ID=your_commodore_role_id_here
ADMIRAL_ROLE_ID=your_admiral_role_id_here
VERIFY_ROLE_ID=YOUR_VERIFY_ROLE_ID (optional)
ADMIN_ROLE_ID=YOUR_ADMIN_ROLE_ID (optional)
# ========== CHANNELS ===========
VERIFY_CHANNEL_ID=YOUR_VERIFY_CHANNEL_ID
LOG_CHANNEL_ID=YOUR_LOG_CHANNEL_ID
# ========== VERIFICATION SETTINGS ===========
# How often to update player data from stfc.pro (in hours)
UPDATE_CHECK_HOURS=24
# Database file path (stores player data for periodic updates)
DB_PATH=stfc_players.db
# ========== LOGGING ===========
DEBUG=0
# Set DEBUG=1 for verbose logging
# =============================================================================
# ROLE HIERARCHY:
# - Agent, Operative, Premier → MEMBER_ROLE (assigned immediately)
# - Commodore → COMMODORE_ROLE (needs admin confirmation)
# - Admiral → ADMIRAL_ROLE (needs admin confirmation)
# - VERIFY_ROLE (optional) → always assigned if configured
# =============================================================================
# NOTES:
# - DISCORD_TOKEN: Get from Discord Developer Portal
# - GUILD_ID: Right-click your server in Discord, select "Copy Server ID"
# - STFC_SERVER_ID: The STFC server ID users must be on to verify
# - 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"
# - Create Discord roles: "Member" (or similar), "Commodore", "Admiral"
# - Create a text channel for LOG_CHANNEL_ID (e.g., "rank-confirmations")
# =============================================================================