aboutsummaryrefslogtreecommitdiff
path: root/env.example
blob: ed883fe0ccd34de0107ea80296786f65b1aac9f3 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
# 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 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 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

# 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