-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.env
38 lines (26 loc) · 1.09 KB
/
config.env
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
# Discord User Token (IMPORTANT: Keep this secret and never share it!)
DISCORD_USER_TOKEN=your_discord_user_token_here
# Comma-separated list of channel IDs to monitor
DISCORD_CHANNEL_IDS=123456789,987654321,112233445
# Directory where downloaded files will be saved
PLUGINS_DIR=/path/to/your/plugins/directory
# Comma-separated list of file extensions to download (no spaces)
ALLOWED_EXTENSIONS=.zip,.jar,.pdf
# Update interval in seconds (e.g., 3600 for 1 hour)
UPDATE_INTERVAL=3600
# Channel ID where notifications about new downloads will be sent
NOTIFICATION_CHANNEL_ID=123456789
# Maximum file size to download (in MB)
MAX_FILE_SIZE_MB=100
# Replace Files with the same name (true/false)
REPLACE_FILES=false
# Whether to check archived threads in forum channels (true/false)
CHECK_ARCHIVED_THREADS=true
# Log level (INFO, WARNING, ERROR, DEBUG)
LOG_LEVEL=INFO
# Log file path
LOG_FILE=discord_file_updater.log
# Maximum number of concurrent downloads
MAX_CONCURRENT_DOWNLOADS=5
# Maximum number of messages to check in each channel's history
HISTORY_LIMIT=100