On this page
Referencev0.14.1

Configuration

Environment variables, Compose service defaults, Lavalink presets, and session behavior for v0.14.1.

Environment variables

Environment variable reference
VariableRequirementLocal defaultNotes
DISCORD_TOKENRequired · secretNo defaultBot token. Use a nonempty value with no whitespace.
DISCORD_GUILD_IDOptionalUnsetNonzero numeric server ID for guild-only registration. Leave blank for global registration.
LAVALINK_HOSTOptional127.0.0.1Nonempty hostname. Compose sets lavalink.
LAVALINK_PORTOptional2333Integer from 1 to 65535. Compose sets 2333.
LAVALINK_PASSWORDRequired in Compose · secretLocal development fallbackSet a strong password. Compose passes it to the bot and to Lavalink as LAVALINK_SERVER_PASSWORD.
LAVALINK_SECUREOptionalfalseBoolean true or false. Compose sets false for the private connection.
RUST_LOGOptionalinfo,wavemelo=debugTracing filter. An invalid or absent value falls back to the default.

The local development fallback for the Lavalink password is youshallnotpass. Compose requires an explicit value. The local TLS parser also accepts yes/no and 1/0. Only the bot token and Lavalink password are secrets in this table.

Keep .env private. See the tagged runtime configuration and environment template.

Docker Compose services

Compose services
ServiceContainerRole and dependencies
botwavemelo-botRust bot. Starts after Lavalink passes its health check.
lavalinkwavemelo-lavalinkAudio node. Starts after yt-cipher starts. Port 2333 is published on host loopback only.
yt-cipherwavemelo-yt-cipherPinned Git build. Listens on port 8001 inside the bridge with no published host port.

The dependencies and all three services share the wavemelo bridge. Only Lavalink has a host port, bound to 127.0.0.1:2333. Keep yt-cipher on the bridge, where the bundled setup uses no API token.

Validate configuration with docker compose config --quiet. See the tagged Compose file.

Compose mounts lavalink/application.yml read-only. The node uses port 2333, JAVA_TOOL_OPTIONS=-Xmx1G, and a password provided via the Compose environment. It probes 2333 over TCP before starting the bot.

The tagged YAML pins youtube-plugin 1.18.2 and LavaSrc 4.8.3. Lavalink calls http://yt-cipher:8001/ on the bridge. The default configuration enables YouTube via its plugin plus Bandcamp, SoundCloud, Twitch, Vimeo, and HTTP. Local files and additional LavaSrc sources are disabled.

Audio filters

Set one preset with /filter. Each preset replaces the entire active Lavalink filter set. Matching is case-insensitive.

Audio filter presets
PresetEffect
bassboostBoosts EQ bands 0–3 by 0.25, 0.20, 0.12 and 0.05 respectively. Alias: bass.
nightcoreRaises playback speed and pitch to 1.25×.
vaporwaveLowers playback speed and pitch to 0.82×, with 0.1 Hz stereo rotation.
8dPans audio with 0.2 Hz stereo rotation.
karaokeReduces centered vocals with a 220 Hz band and 100 Hz width.
clearRemoves all active filters. Alias: off.

Auto-leave and 24/7 mode

The bot starts a 180-second countdown when alone, even while playing, or when listeners are present and the player is idle with an empty queue. The countdown resets as voice and playback state change.

Use /247 in the bot’s voice channel to suppress auto-leave for the session. Toggle it again to restore automatic disconnects.

Autoplay

Autoplay runs after a natural track end with loop off and an empty queue. It tries a YouTube Mix for the previous track, then falls back to a title-and-artist search. It excludes up to 20 recent identifiers and pauses after three consecutive failures.

Manual playback changes such as /play, /skip, /stop, and /leave cancel pending resolution. Use /autoplay to toggle the mode.