This repository was archived by the owner on Apr 3, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
69 lines (51 loc) · 1.73 KB
/
.env.example
File metadata and controls
69 lines (51 loc) · 1.73 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
# ====================
# Required
# ====================
# Discord bot token.
# Create an application + bot in the Discord Developer Portal, then paste the bot token here.
DISCORD_TOKEN=
# XC / IPTV portal URL included in credential messages.
# Example: https://example.com:8080
XC_URL=
# ====================
# Storage
# ====================
# SQLite database path used by the bot.
# Docker default keeps this under the mounted /app/data volume.
SQLITE_PATH=/app/data/bot.sqlite3
# ====================
# Staff access and logging
# ====================
# Audit log channel ID.
# Set to 0 or leave blank to disable audit logging.
AUDIT_LOG_CHANNEL_ID=0
# Comma-separated Discord user IDs allowed to use staff-only commands.
# Example: 123456789012345678,234567890123456789
ALLOWED_USER_IDS=
# ====================
# Role automation
# ====================
# SS VOD role ID.
# Used by the role sync logic: if a user has SS VOD, Expired is removed;
# if they lose SS VOD and do not already have Expired, Expired is added.
SS_VOD_ROLE_ID=
# Expired role ID used by the SS VOD sync logic and purge helpers.
EXPIRED_ROLE_ID=
# Legacy fallback name still supported by the code for backward compatibility.
# Prefer SS_VOD_ROLE_ID above for new deployments.
# ACTIVE_SUBSCRIBER_ROLE_ID=
# ====================
# Purge DM system
# ====================
# Enable or disable purge warning/test DMs.
# Accepted truthy values: 1, true, yes, on
PURGE_DM_ENABLED=false
# Purge DM template. Use \n for line breaks in .env files.
# Supported placeholders:
# {user}
# {server}
# {days}
# {role_mode}
# Example:
# PURGE_DM_TEMPLATE=Hello {user},\n\nYou are being contacted about inactivity in {server}.\nThreshold: {days} days.\nMode: {role_mode}
PURGE_DM_TEMPLATE=