2026-03-11 23:24:42 +00:00
|
|
|
# Minecraft Update Bot - Environment Configuration
|
|
|
|
|
# Copy this file to .env and fill in your values
|
|
|
|
|
|
|
|
|
|
# Reddit App Credentials
|
|
|
|
|
# Create an app at https://www.reddit.com/prefs/apps (type: Script)
|
|
|
|
|
REDDIT_CLIENT_ID=YOUR_CLIENT_ID_HERE
|
|
|
|
|
REDDIT_CLIENT_SECRET=YOUR_CLIENT_SECRET_HERE
|
|
|
|
|
|
|
|
|
|
# Your Reddit Account
|
|
|
|
|
REDDIT_USERNAME=YOUR_USERNAME_HERE
|
|
|
|
|
REDDIT_PASSWORD=YOUR_PASSWORD_HERE
|
|
|
|
|
|
|
|
|
|
# Which subreddit to post to
|
|
|
|
|
SUBREDDIT=YOUR_SUBREDDIT_HERE
|
|
|
|
|
|
|
|
|
|
# Optional: customize the user agent
|
|
|
|
|
# REDDIT_USER_AGENT=MinecraftUpdateBot/1.0
|
|
|
|
|
|
|
|
|
|
# Optional: what types of releases to check for
|
|
|
|
|
# Options: release, snapshot, old_beta, old_alpha
|
|
|
|
|
# Multiple: RELEASE_TYPES=release,snapshot
|
|
|
|
|
RELEASE_TYPES=release
|
|
|
|
|
|
2026-03-11 23:29:13 +00:00
|
|
|
# Optional: Check for Bedrock Edition releases (Windows)
|
|
|
|
|
# true to enable, false to disable
|
|
|
|
|
CHECK_BEDROCK=false
|
|
|
|
|
|
2026-03-11 23:24:42 +00:00
|
|
|
# Optional: how often to check for updates (in seconds)
|
|
|
|
|
# Default: 3600 (1 hour)
|
|
|
|
|
# For testing: 600 (10 minutes)
|
|
|
|
|
CHECK_INTERVAL=3600
|
|
|
|
|
|
|
|
|
|
# Wiki Configuration
|
|
|
|
|
# Post titles and bodies are loaded from the subreddit wiki page "minecraft_update_bot"
|
|
|
|
|
# Format: YAML with release_type sections containing title and body
|
|
|
|
|
# Example: See WIKI_CONFIG.md for complete documentation
|