# Reddit API Credentials # Get these from https://www.reddit.com/prefs/apps REDDIT_CLIENT_ID=your_client_id_here REDDIT_CLIENT_SECRET=your_client_secret_here REDDIT_USERNAME=your_reddit_username REDDIT_PASSWORD=your_reddit_password REDDIT_USER_AGENT=UmaBot/0.1.0 # OpenAI API Credentials # Get this from https://platform.openai.com/api-keys OPENAI_API_KEY=your_openai_api_key_here # Subreddit Configuration # The main subreddit where the bot will operate (without the r/ prefix) SUBREDDIT_NAME=okbuddyumamusume # Additional subreddits (comma-separated, without r/ prefix) ADDITIONAL_SUBREDDITS=TracenAcademy # Bot Messages # Customize these messages as needed ROLEPLAY_MESSAGE=Your post has been removed. Only one in-character post is allowed per user. # Bot Settings # How often to check for new posts (in seconds) CHECK_INTERVAL=60 # Maximum number of posts a user can make in the time window MAX_POSTS_PER_DAY=3 # Maximum number of in-character posts a user can make in the time window MAX_ROLEPLAY_POSTS_PER_DAY=1 # Time window for post limits (in hours) POST_LIMIT_WINDOW_HOURS=24 # Time window for in-character post limits (in hours) ROLEPLAY_LIMIT_WINDOW_HOURS=24 # Surge-based in-character limiting thresholds ROLEPLAY_SURGE_THRESHOLD_1=20 ROLEPLAY_SURGE_THRESHOLD_2=40 ROLEPLAY_SURGE_THRESHOLD_3=60 # Set to true to test without actually removing posts DRY_RUN=false # Mod mail reasoning level (0=none, 1=brief, 2=full) REASONING_LEVEL=2 # Media Requirement Settings # Minimum character length for roleplay posts to not require media (default: 200) MIN_ROLEPLAY_LENGTH_WITHOUT_MEDIA=200 # Discord Webhook Configuration # Discord webhook URL for logging moderation actions DISCORD_WEBHOOK_URL=your_discord_webhook_url_here # Discord channel ID for logging (optional, overrides webhook's default channel) DISCORD_LOG_CHANNEL_ID=1419186821509939300