Files

40 lines
1.2 KiB
Bash
Raw Permalink Normal View History

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
2026-03-12 21:45:01 +00:00
REDDIT_SUBREDDIT=YOUR_SUBREDDIT_HERE
2026-03-11 23:24:42 +00:00
# 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
2026-03-12 21:45:01 +00:00
# Multiple: REDDIT_RELEASE_TYPES=release,snapshot
REDDIT_RELEASE_TYPES=release,snapshot
2026-03-11 23:24:42 +00:00
2026-03-12 21:45:01 +00:00
# Optional: Check for Bedrock Edition releases
2026-03-11 23:29:13 +00:00
# true to enable, false to disable
2026-03-12 21:45:01 +00:00
REDDIT_CHECK_BEDROCK=true
2026-03-11 23:29:13 +00:00
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)
2026-03-12 21:45:01 +00:00
REDDIT_CHECK_INTERVAL=3600
2026-03-11 23:24:42 +00:00
# Wiki Configuration
2026-03-12 21:45:01 +00:00
# Name of the wiki page to load post templates from
# Default: minecraft_update_bot
REDDIT_WIKI_PAGE_NAME=minecraft_update_bot
# Wiki Format: YAML with release_type sections containing title and body
2026-03-11 23:24:42 +00:00
# Example: See WIKI_CONFIG.md for complete documentation