aboutsummaryrefslogtreecommitdiff
path: root/env.example
blob: 9591db214df9fa8cb3bc6864a9d066472c56da3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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