Files
ksan 06c2aac6ef
CI/CD / build (push) Successful in 52s
CI/CD / deploy (push) Successful in 1m32s
enable youtube oauth for login-gated tracks
2026-08-29 18:48:55 +02:00

31 lines
1.5 KiB
Bash

# Copy this file to `.env` and fill in your real values.
# `.env` is gitignored so your secrets stay local.
# Your Discord bot token (Developer Portal -> your app -> Bot -> Reset/Copy Token).
BOT_TOKEN=your-bot-token-here
# Numeric ID of your test server, so /hello registers instantly as a guild command.
# Enable Developer Mode in Discord, right-click the server, "Copy Server ID".
# Leave unset to register /hello globally (can take up to an hour to appear).
GUILD_ID=123456789012345678
# Lavalink server the bot connects to for music playback.
# In docker-compose the bot reaches Lavalink at ws://lavalink:2333 (set there);
# ws://localhost:2333 is the default for running the bot outside a container.
LAVALINK_URI=ws://localhost:2333
# Shared secret between the bot and the Lavalink server. docker-compose passes
# this same value to the server as LAVALINK_SERVER_PASSWORD, so the two always
# match. Set a strong value — do NOT ship the youshallnotpass default.
LAVALINK_PASSWORD=change-me
# YouTube OAuth refresh token, used for tracks YouTube refuses to serve without
# a login (age-restricted, "sign in to confirm you're not a bot"). Leave this
# commented out on the first run: Lavalink will log a google.com/device code,
# and after you authorize it logs the refresh token to paste here. Use a
# throwaway Google account. Read by the Lavalink container, not the bot.
#PLUGINS_YOUTUBE_OAUTH_REFRESHTOKEN=
# Path to the catchphrases file (one phrase per line). Optional; defaults to
# catchphrases.txt in the working directory.
CATCHPHRASES_FILE=catchphrases.txt