-
Notifications
You must be signed in to change notification settings - Fork 3
/
.env.example
26 lines (22 loc) · 1.15 KB
/
.env.example
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
## Required variables
NG_TOKEN= # Telegram BOT API token
NG_LLM_API_KEY= # LLM API key for content analysis
## Optional variables with defaults
NG_LANG=en # Default language for new chats
NG_HANDLERS=admin,gatekeeper,reactor # Enabled bot handlers
NG_LOG_LEVEL=2 # Log level (0=Panic to 6=Trace)
NG_DOT_PATH=~/.ngbot # Bot data storage path
## OpenAI settings
NG_LLM_API_MODEL=gpt-4o-mini # LLM model
NG_LLM_API_URL=https://api.openai.com/v1 # LLM API base URL
NG_LLM_API_TYPE=openai # LLM API type {openai,gemini}
## Reactor settings
NG_FLAGGED_EMOJIS=👎,💩 # Emojis for content flagging
## Spam control settings
NG_SPAM_LOG_CHANNEL_USERNAME= # Channel for spam logging
NG_SPAM_VERBOSE=false # Verbose in-chat notifications
NG_SPAM_VOTING_TIMEOUT=5m # Voting time limit
NG_SPAM_MIN_VOTERS=2 # Minimum required voters
NG_SPAM_MAX_VOTERS=10 # Maximum voters cap
NG_SPAM_MIN_VOTERS_PERCENTAGE=5 # Minimum voter percentage
NG_SPAM_SUSPECT_NOTIFICATION_TIMEOUT=2m # Suspect notification timeout