-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
49 lines (40 loc) · 2.47 KB
/
Copy path.env.example
File metadata and controls
49 lines (40 loc) · 2.47 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
40
41
42
43
44
45
46
47
48
49
# Discord bot token (required)
DISCORD_TOKEN=your_bot_token_here
# MySQL - required for /managesystem and channel-based Remove BG / Dedup
# If password contains # @ ^ etc., use double quotes: MYSQL_PASSWORD="pass^word@here"
MYSQL_HOST=localhost
MYSQL_USER=ae_bot
MYSQL_PASSWORD=your_password
MYSQL_DATABASE=ae_scripts_bot
# Optional: URL for bot logo in embeds
# BOT_LOGO=https://cdn.discordapp.com/avatars/YOUR_BOT_ID/avatar.png
# Optional: Discord user IDs that can use /managesystem and /setup_results (comma-separated). Server owner and admins always can.
# BOT_MANAGE_USER_IDS=977190163736322088
# Optional: titles for pinned setup messages (container/embed). Defaults: Remove Background System, Remove Duplicate Frames System, Dedup Results, Remove BG Results.
# REMOVEBG_SETUP_TITLE=Remove Background System
# DEDUP_SETUP_TITLE=Remove Duplicate Frames System
# DEDUP_RESULTS_SETUP_TITLE=Dedup Results
# REMOVEBG_RESULTS_SETUP_TITLE=Remove BG Results
# Optional: image URLs for pinned setup messages (container). If set, the pinned message uses a LayoutView with this image.
# REMOVEBG_SETUP_IMAGE_URL=https://example.com/removebg-setup.png
# DEDUP_SETUP_IMAGE_URL=https://example.com/dedup-setup.png
# DEDUP_RESULTS_SETUP_IMAGE_URL=https://example.com/dedup-results-setup.png
# REMOVEBG_RESULTS_SETUP_IMAGE_URL=https://example.com/removebg-results-setup.png
# Optional: YouTube Download (MP4 / MP3) setup titles and images
# YT_DOWNLOAD_MP4_SETUP_TITLE=YouTube Download (MP4)
# YT_DOWNLOAD_MP4_SETUP_IMAGE_URL=https://example.com/yt-download-mp4-setup.png
# YT_DOWNLOAD_MP3_SETUP_TITLE=YouTube Download (MP3)
# YT_DOWNLOAD_MP3_SETUP_IMAGE_URL=https://example.com/yt-download-mp3-setup.png
# Optional: max file sizes (MB). If unset, uses server boost level (same as YouTube downloader: 8 MB default, 50 MB with 7+ boosts)
# MAX_REMOVEBG_SIZE_MB=8
# MAX_DEDUP_SIZE_MB=24
# Optional: reduce removebg load on small VDS (downscale image to this many px on longest side; 0 = no limit)
# REMOVEBG_MAX_DIMENSION=1024
# Optional: timeout in seconds for one removebg job (default 120)
# REMOVEBG_TIMEOUT_SECONDS=120
# Optional: rembg model. u2netp = lighter/faster (default), u2net = better quality, isnet-general-use = alternative
# REMOVEBG_MODEL=u2netp
# Dedup: path to folder containing remove_duplicate_frames.py (required for /dedup if not using repo layout)
# Example (Linux): DEDUP_PYTHON_PATH=/home/container/python
# Example (Windows): DEDUP_PYTHON_PATH=C:\path\to\InterpolationScriptTest\python
# DEDUP_PYTHON_PATH=