Updates bot.js to make Supabase integration optional, adds Sentinel security listeners, and modifies several commands to handle missing Supabase configurations gracefully. Also updates package.json and replit.md for new dependencies and features. Replit-Commit-Author: Agent Replit-Commit-Session-Id: aed2e46d-25bb-4b73-81a1-bb9e8437c261 Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Event-Id: 0d645005-4840-49ef-9446-2c62d2bb7eed Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3bdfff67-975a-46ad-9845-fbb6b4a4c4b5/aed2e46d-25bb-4b73-81a1-bb9e8437c261/Wmps8l5 Replit-Helium-Checkpoint-Created: true
48 lines
1.6 KiB
Text
48 lines
1.6 KiB
Text
# Discord Bot Configuration
|
|
DISCORD_BOT_TOKEN=your_bot_token_here
|
|
DISCORD_CLIENT_ID=your_client_id_here
|
|
DISCORD_PUBLIC_KEY=your_public_key_here
|
|
|
|
# Supabase Configuration (optional - community features require this)
|
|
SUPABASE_URL=https://your-project.supabase.co
|
|
SUPABASE_SERVICE_ROLE=your_service_role_key_here
|
|
|
|
# API Configuration
|
|
VITE_API_BASE=https://api.aethex.dev
|
|
|
|
# Discord Feed Webhook Configuration
|
|
DISCORD_FEED_WEBHOOK_URL=https://discord.com/api/webhooks/YOUR_WEBHOOK_ID/YOUR_WEBHOOK_TOKEN
|
|
DISCORD_FEED_GUILD_ID=515711457946632232
|
|
DISCORD_FEED_CHANNEL_ID=1425114041021497454
|
|
|
|
# Discord Main Chat Channels (comma-separated channel IDs for feed sync)
|
|
DISCORD_MAIN_CHAT_CHANNELS=channel_id_1,channel_id_2
|
|
|
|
# Discord Announcement Channels (comma-separated channel IDs)
|
|
DISCORD_ANNOUNCEMENT_CHANNELS=1435667453244866702,your_other_channel_ids_here
|
|
|
|
# Discord Role Mappings (optional)
|
|
DISCORD_FOUNDER_ROLE_ID=your_role_id_here
|
|
DISCORD_ADMIN_ROLE_ID=your_admin_role_id_here
|
|
|
|
# Admin API Tokens
|
|
DISCORD_ADMIN_TOKEN=aethex-bot-admin
|
|
DISCORD_BRIDGE_TOKEN=aethex-bridge
|
|
|
|
# Health Server
|
|
HEALTH_PORT=8080
|
|
|
|
# =============================================================================
|
|
# SENTINEL SECURITY CONFIGURATION
|
|
# =============================================================================
|
|
|
|
# Federation Guild IDs (optional)
|
|
HUB_GUILD_ID=main_hub_server_id
|
|
LABS_GUILD_ID=labs_server_id
|
|
GAMEFORGE_GUILD_ID=gameforge_server_id
|
|
CORP_GUILD_ID=corp_server_id
|
|
FOUNDATION_GUILD_ID=foundation_server_id
|
|
|
|
# Security Settings
|
|
WHITELISTED_USERS=user_id_1,user_id_2
|
|
ALERT_CHANNEL_ID=channel_id_for_alerts
|