huge changes
This commit is contained in:
65
.env.example
65
.env.example
@@ -122,6 +122,71 @@ CLAIMER_EMOJI_FALLBACK=🎫 # fallback if claimer has no entry i
|
||||
ADMIN_ID= # Discord user ID of the bot admin (for /staffnotification)
|
||||
STAFF_NOTIFICATION_CATEGORY_ID= # Category for staff notification channels (created by /notification add)
|
||||
UNCLAIMED_REMINDER_THRESHOLDS=1,2,4 # Comma-separated hour thresholds for unclaimed ticket alerts
|
||||
FORCE_CLOSE_TIMER_SECONDS=60 # Seconds to wait before force-closing a ticket (default 60)
|
||||
GMAIL_POLL_INTERVAL_SECONDS=30 # Gmail poll interval in seconds (default 30)
|
||||
GMAIL_LOG_CHANNEL_ID= # Channel for Gmail poll activity logs
|
||||
AUTOMATION_LOG_CHANNEL_ID= # Channel for auto-close/auto-unclaim/reminder logs
|
||||
RENAME_LOG_CHANNEL_ID= # Channel for channel rename queue logs
|
||||
SECURITY_LOG_CHANNEL_ID= # Channel for security/audit logs
|
||||
SYSTEM_LOG_CHANNEL_ID= # Channel for bot lifecycle logs (startup, shutdown, DB events)
|
||||
|
||||
# --- Pattern detection ---
|
||||
USER_PATTERNS_CHANNEL_ID= # Channel for repeat-user pattern alerts
|
||||
GAME_PATTERNS_CHANNEL_ID= # Channel for game-specific pattern alerts
|
||||
TAG_PATTERNS_CHANNEL_ID= # Channel for ticket tag pattern alerts
|
||||
ESCALATION_PATTERNS_CHANNEL_ID= # Channel for escalation pattern alerts
|
||||
STAFF_PATTERNS_CHANNEL_ID= # Channel for staff workload pattern alerts
|
||||
COMBINED_PATTERNS_CHANNEL_ID= # Channel for combined/cross-cutting pattern alerts
|
||||
PATTERN_USER_TICKET_THRESHOLD=3 # Tickets per user before alerting
|
||||
PATTERN_GAME_TICKET_THRESHOLD=10 # Tickets per game before alerting
|
||||
PATTERN_STAFF_STALE_PING_THRESHOLD=5 # Stale pings before alerting
|
||||
PATTERN_ESCALATION_THRESHOLD=3 # Escalations before alerting
|
||||
PATTERN_RAPID_CLOSE_SECONDS=120 # Seconds; closes faster than this are flagged
|
||||
PATTERN_UNCLAIMED_HOURS=4 # Hours unclaimed before flagging
|
||||
PATTERN_CHECK_INTERVAL_MINUTES=30 # Minutes between pattern check runs
|
||||
|
||||
# --- Surge & chat alerts ---
|
||||
ALL_STAFF_CHANNEL_ID= # Channel for staff surge alerts
|
||||
ALL_STAFF_CHAT_ALERT_CHANNEL_ID= # Channel for chat monitoring alerts
|
||||
SURGE_ROLE_ID= # Role to ping on surge alerts
|
||||
SURGE_TICKET_COUNT=10 # Ticket count to trigger surge
|
||||
SURGE_TICKET_WINDOW_MINUTES=30 # Window for ticket surge
|
||||
SURGE_GAME_TICKET_COUNT=5 # Per-game ticket count for surge
|
||||
SURGE_GAME_TICKET_WINDOW_MINUTES=30 # Window for game surge
|
||||
SURGE_STALE_COUNT=8 # Stale tickets to trigger alert
|
||||
SURGE_STALE_HOURS=2 # Hours before ticket is stale
|
||||
SURGE_NEEDS_RESPONSE_COUNT=5 # Tickets awaiting response to trigger alert
|
||||
SURGE_NEEDS_RESPONSE_HOURS=1 # Hours awaiting response
|
||||
SURGE_UNCLAIMED_COUNT=5 # Unclaimed tickets for surge alert
|
||||
SURGE_UNCLAIMED_MINUTES=30 # Minutes unclaimed before counting
|
||||
SURGE_TIER3_UNCLAIMED_MINUTES=15 # Minutes before tier 3 unclaimed alert
|
||||
SURGE_COOLDOWN_MINUTES=60 # Cooldown between surge alerts
|
||||
CHAT_ALERT_CHANNEL_IDS= # Comma-separated channel IDs to monitor
|
||||
CHAT_ALERT_MESSAGE_COUNT=5 # Unresponded messages to trigger alert
|
||||
CHAT_ALERT_HOURS_WITHOUT_RESPONSE=2 # Hours without staff response to alert
|
||||
CHAT_ALERT_COOLDOWN_MINUTES=60 # Cooldown between chat alerts
|
||||
STAFF_IDS= # Comma-separated Discord user IDs of all staff members
|
||||
SURGE_NO_STAFF_COOLDOWN_MINUTES=30 # Cooldown between zero-staff alerts
|
||||
SURGE_NO_STAFF_OPEN_TICKET_THRESHOLD=3 # Min open tickets before alerting
|
||||
STAFF_DND_COUNTS_AS_AVAILABLE=false # Whether DND status counts as available
|
||||
|
||||
# --- Staff threads ---
|
||||
STAFF_THREAD_ENABLED=false # Create a private staff thread on each ticket channel
|
||||
STAFF_THREAD_NAME=Staff Discussion # Name of the private thread
|
||||
STAFF_THREAD_AUTO_ADD_ROLE=false # Auto-add all members of STAFF_THREAD_ROLE_ID to thread on creation
|
||||
STAFF_THREAD_ROLE_ID= # Role whose members are added to the thread (defaults to ROLE_ID_TO_PING)
|
||||
|
||||
# --- Message pinning ---
|
||||
PIN_INITIAL_MESSAGE_ENABLED=false # Auto-pin the welcome message on ticket creation
|
||||
PIN_ESCALATION_MESSAGE_ENABLED=false # Auto-pin escalation messages
|
||||
PIN_SUPPRESS_SYSTEM_MESSAGE=false # Delete the "X pinned a message" system message after pinning
|
||||
|
||||
# --- Settings site & internal API ---
|
||||
SETTINGS_PORT=12752 # Port for the settings web UI
|
||||
SETTINGS_ADMIN_PASSWORD= # Password to access the settings UI
|
||||
SETTINGS_DOMAIN=tickets.indifferentketchup.com # Domain for the settings site (update when domain changes)
|
||||
INTERNAL_API_PORT=12753 # Internal port for bot<->settings IPC (not exposed externally)
|
||||
INTERNAL_API_SECRET= # Shared secret between bot and settings site (generate a random string)
|
||||
|
||||
# --- Thread-style tickets (legacy) ---
|
||||
USE_THREADS=false
|
||||
|
||||
Reference in New Issue
Block a user