Repository navigation
Expand file tree
/
Copy pathsample.env
More file actions
41 lines (34 loc) · 1.83 KB
/
Copy pathsample.env
File metadata and controls
41 lines (34 loc) · 1.83 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
NODE_ENV=development
BOT_TOKEN=
# Only used when NODE_ENV=production.
SENTRY_DSN=
# Sentry's environment tag, e.g. the host's name.
# APP_ENV=production
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
# `debug` namespaces to print (and send to Sentry). DEBUG=- silences everything.
# DEBUG=*,-voiceGateway,-presenceUpdate,-utils:role