This commit is contained in:
2026-03-11 23:24:42 +00:00
commit cf3e2c8c78
15 changed files with 1568 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
# 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
# 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