-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.env
More file actions
35 lines (29 loc) · 1.59 KB
/
Copy pathsample.env
File metadata and controls
35 lines (29 loc) · 1.59 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
NODE_ENV=development
BOT_TOKEN=
SENTRY_DSN=
COMMAND_PREFIX=!
# Optional: persist per-guild volume settings across restarts/deploys via a
# free-tier Upstash Redis (https://upstash.com). Copy the database's "REST API"
# URL and token here. Leave both blank to keep volume in memory only (resets on
# restart). On Fly, set them as secrets on each app, e.g.:
# fly secrets set UPSTASH_REDIS_REST_URL=... UPSTASH_REDIS_REST_TOKEN=... -a manibot
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=
# Optional: Redis hash key the preferences are stored under (default: manibot:volumes).
# MANIBOT_VOLUME_KEY=manibot:volumes
# Optional: full path to yt-dlp if it is not on PATH (common on Windows)
# YTDLP_PATH=C:\\Users\\You\\bin\\yt-dlp.exe
# JS runtime(s) yt-dlp uses to solve YouTube signature/n-challenges (comma = preference order).
# The Docker image ships Deno (recommended) with Node 22 as fallback. Node alone needs >= 22.0.0.
# YTDLP_JS_RUNTIME=deno,node
# Fly-friendly fallback when YouTube blocks server IP:
# set this to full Netscape cookies.txt content as a secret
# do NOT set this to a raw "Cookie:" request header string
# first line should usually be: # Netscape HTTP Cookie File
YTDLP_COOKIES=
# Docker/Fly only: on each container start, upgrade yt-dlp if GitHub has a newer release
# (compares tag to bundled binary; skips the big download when already current).
# YTDLP_AUTO_UPDATE=0
# YTDLP_UPDATE_URL=https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux
# While the bot is running, run `yt-dlp -U` on this interval (hours). Default 24. Set to 0 to disable.
# YTDLP_SCHEDULED_UPDATE_HOURS=24