40 lines
1.2 KiB
Bash
40 lines
1.2 KiB
Bash
# 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
|
|
REDDIT_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: REDDIT_RELEASE_TYPES=release,snapshot
|
|
REDDIT_RELEASE_TYPES=release,snapshot
|
|
|
|
# Optional: Check for Bedrock Edition releases
|
|
# true to enable, false to disable
|
|
REDDIT_CHECK_BEDROCK=true
|
|
|
|
# Optional: how often to check for updates (in seconds)
|
|
# Default: 3600 (1 hour)
|
|
# For testing: 600 (10 minutes)
|
|
REDDIT_CHECK_INTERVAL=3600
|
|
|
|
# Wiki Configuration
|
|
# 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
|
|
# Example: See WIKI_CONFIG.md for complete documentation
|