# 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 # Subreddit Configuration # The subreddit where the bot will operate (without the r/ prefix) SUBREDDIT_NAME=your_subreddit_name # Bot Messages # Customize these messages as needed ROLEPLAY_MESSAGE=Your post has been removed. Only one roleplay 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 roleplay 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 roleplay post limits (in hours) ROLEPLAY_LIMIT_WINDOW_HOURS=24 # Surge-based roleplay 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