-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
39 lines (31 loc) · 1.03 KB
/
Copy path.env.example
File metadata and controls
39 lines (31 loc) · 1.03 KB
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
# Bot Configuration
BOT_USERNAME=pricebot
# Integration Settings
ENABLE_MATRIX=true
ENABLE_DISCORD=false
# Matrix Configuration
MATRIX_HOMESERVER=https://your-homeserver.com
MATRIX_USERNAME=@your-bot:your-homeserver.com
MATRIX_PASSWORD=your-secure-password
# Matrix Performance Settings
# Sync timeout in milliseconds (how long to wait for new events)
MATRIX_SYNC_TIMEOUT=10000
# Request timeout in seconds for Matrix API calls
MATRIX_REQUEST_TIMEOUT=20
# Matrix Auto-Invite Settings
# Enable/disable automatic acceptance of room invites
ENABLE_AUTO_INVITE=true
# Comma-separated list of Matrix user IDs allowed to invite the bot
# Leave empty to allow all users, or specify users like: @user1:server.com,@user2:server.com
ALLOWED_INVITE_USERS=
# Discord Configuration
DISCORD_TOKEN=your-discord-bot-token
DISCORD_COMMAND_PREFIX=?
DISCORD_ALLOWED_GUILDS=guild_id1,guild_id2
# Price Tracking Settings
PRICE_CACHE_TTL=300
ENABLE_PRICE_TRACKING=true
# Stock Market Settings
ENABLE_STOCK_MARKET=true
# Timeout Settings (in seconds)
PRICE_FETCH_TIMEOUT=5