-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
100 lines (73 loc) · 3.63 KB
/
Copy path.env.example
File metadata and controls
100 lines (73 loc) · 3.63 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
# =============================================================================
# DTB Verifier — Environment Configuration
# =============================================================================
# Copy this file to .env and fill in the values.
# Lines marked [REQUIRED] must be set for the bot to start.
# -----------------------------------------------------------------------------
# Core
# -----------------------------------------------------------------------------
# [REQUIRED] Discord bot token from https://discord.com/developers/applications
DISCORD_TOKEN=
# [REQUIRED] Bot profile — determines verification behavior.
# stfc_verifier — Rank-based verification with alliance roles
# stfc_verifier_alliance — Rank-based verification (alliance variant, no auto-alliance roles)
# veil_security — OPS level-based verification
BOT_PROFILE=stfc_verifier
# [REQUIRED] Your Discord server (guild) ID
GUILD_ID=
# -----------------------------------------------------------------------------
# Channels
# -----------------------------------------------------------------------------
# [REQUIRED] Channel where the /verify command and verification button are available
VERIFY_CHANNEL_ID=
# Channel where the bot posts verification logs, rank confirmations, and recalls.
# If omitted, logging is silently skipped.
LOG_CHANNEL_ID=
# Channel mentioned in support ticket prompts (e.g. "Open a ticket in #support")
SUPPORT_CHANNEL_ID=
# -----------------------------------------------------------------------------
# Roles
# -----------------------------------------------------------------------------
# Role given to every verified user after completion
VERIFIED_ROLE_ID=
# Role given to unverified members on join (not currently used by the bot)
UNVERIFIED_ROLE_ID=
# [STFC] Base member role assigned on verification
MEMBER_ROLE_ID=
# [STFC] Leadership rank roles — assigned after admin confirmation in the log channel
COMMODORE_ROLE_ID=
ADMIRAL_ROLE_ID=
# Required for admin commands (/admin verify, /admin recall, /admin send_button)
# and for accepting/rejecting leadership rank confirmations.
ADMIN_ROLE_ID=
# [veil_security] Role for players whose OPS level meets the threshold
OPS71_PLUS_ROLE_ID=
# -----------------------------------------------------------------------------
# Profile-specific criteria
# -----------------------------------------------------------------------------
# [STFC — required for stfc_verifier / stfc_verifier_alliance]
# Players not on this server are rejected during verification.
STFC_SERVER_NUMBER=
# [veil_security — required] Minimum OPS level to receive the OPS71+ role
MINIMUM_OPS_LEVEL=
# -----------------------------------------------------------------------------
# Behavior
# -----------------------------------------------------------------------------
# Hours between automatic player data refresh checks (default: 24)
UPDATE_CHECK_HOURS=24
# Seconds a wizard session stays alive before expiring (default: 10 minutes)
# Stored as hours in DB but the wizard uses a 10-minute TTL regardless.
SESSION_TTL_HOURS=168
# Require a screenshot upload during verification wizard (true/false)
REQUIRE_SCREENSHOT=true
# Default language for the verification wizard UI
DEFAULT_LANGUAGE=en
# Enable verbose debug logging (1/0)
DEBUG=0
# -----------------------------------------------------------------------------
# Database overrides (optional — defaults to data/{BOT_PROFILE}_{GUILD_ID}.sqlite3)
# -----------------------------------------------------------------------------
# Absolute path to a SQLite file
# SQLITE_PATH=
# Or use a sqlite:/// URL
# DATABASE_URL=sqlite:///absolute/path/to/db.sqlite3