# Troubleshooting Find the message or symptom, then follow the cause. Values in quotes are the strings the bot sends. ## "I don't see audio or video here" Transcribe found no media. It checks three places in order: the message being replied to, the invoking message's own attachments, and exactly one message back in the channel. Anything older is ignored. Reply directly to the voice message, or attach the file to the command. ## "The transcription service is not reachable on port 8201" Nothing is listening on `127.0.0.1:8201`, or it refused the connection. Check the Whisper service, confirm it binds loopback, and confirm the bot runs on the same host. The address is compiled into `transcribe/transcribe.py`. ## "The translation service is not reachable on port 8200" Same check for NLLB. Note that `[p]transcribe` with no language and `[p]transcribe english` never call NLLB, so a failure there means the request named another target. ## "I only detected X (N percent confident)" Whisper's language probability was below 0.5. The transcript is shown and translation is refused. This is deliberate: translating from a guessed language produces fluent nonsense. Speak more clearly, send a longer clip, or accept the transcript. ## "That's too short to identify the language reliably" Text translation through NLLB requires at least 12 characters for detection. State the source explicitly with `[p]translate from `. ## "I'm not confident that's X (N percent)" `langdetect` returned a top guess below 70 percent, or within 15 points of the runner up. Use the `from ` form. ## "Images not supported at this time" Assistant rejects every image, including images in a replied message. This is current behavior, not a configuration problem. ## Assistant never replies Check, in order: the guild has the assistant enabled (`[p]assistant settings`), the message is either in the configured chat channel or mentions the bot, the base URL is reachable, and a key is set when the base URL is not local. A remote URL without a key causes the listener to return silently. Question mode also requires a trailing question mark. ## "API error 401" or "API error 404" from Assistant 401 means the key is wrong or missing for a remote backend. 404 usually means the base URL is wrong; it must include the version segment, for example `http://127.0.0.1:11434/v1`. ## AlbumOfTheDay does not post The scheduler runs once a minute and posts only when the guild's local hour and minute match exactly, and only once per local date. Check `[p]aotd settings` for the channel, the time and the last posted date. A missing channel or a bad timezone is logged and skipped. The bot must be online at that minute; there is no catch-up post. ## "API returned status 404" from AlbumOfTheDay The group URL is wrong. It must be the API form with `/api/v1` inserted before `/groups`, and it must start with `https://`. ## "Channel not found" from PlayitStatus `[p]playit channel` takes a numeric channel ID, not a mention. Use Developer Mode to copy the ID. The bot must already be in that guild when the command runs. ## PlayitStatus never alerts on its own There is no background monitor. Alerts are produced only when `[p]playit status` runs and a monitor's state differs from the stored state. Schedule an external task if automatic checks are needed. ## "Lavalink is not connected yet. Try again in a moment." YTAudio connects in the background after Red is ready, with up to five retries two seconds apart. Wait a few seconds. If it persists, check that the node is listening on 2333, that the password matches `youshallnotpass`, and that the bot can read and write the directories used for the growing stream files. ## YTAudio plays nothing but reports "Now playing" Lavalink must be able to open the file path written by the bot. If Lavalink runs in a container or on another host, the path does not exist for the node and loading fails silently from the user's perspective. Keep the node on the same filesystem. ## "Failed to load: " Both the streaming path and the mp3 fallback failed. Common causes are a video that requires sign-in, a region block, or yt-dlp being older than the site's current player. Update yt-dlp in the bot's virtual environment. ## "You must be in a voice channel to use X mode" `[p]tts` only allows use outside voice chat in Chatterbox mode, because that path returns an audio file instead of playing. Join a channel or switch modes. ## "Cannot reach Chatterbox TTS" The URL check calls `/api/ui/initial-data` and then checks `/openapi.json` for a `/tts` route. A server that answers the first check but lacks the second is reported as running without the endpoint. ## "Chatterbox couldn't generate audio with voice X" The reference clip is too short, too long, or in a format the server cannot decode. Use 5 to 15 seconds of one speaker with no background noise. Clips shorter than six seconds are looped and clips longer than thirty seconds are trimmed before upload, so this usually means the content itself is unusable. ## TtsToy DECTalk or Piper commands fail with connection errors Both run as independent services, not as children of the bot. Start them with systemd and confirm `/health` for DECTalk and `/` for Piper respond on the configured ports. ## "The web UI is not running. Ask the bot owner to start it." `[p]ttstoy login` reads the internal secret from `/tmp/ttstoy_webui_state.json`. If the file is missing or has no `internal_secret`, the login command refuses. Start the web UI service, which writes that file, or set `TTSTOY_SHARED_STATE` to the correct path. ## "I couldn't DM you" Assistant and TtsToy both DM keys or instructions. Enable direct messages from server members, or ask an administrator to allow them. ## AutoRoom does not create a channel The source voice channel must exist, the bot needs View Channel, Connect and Move Members on the source, and Manage Channels on the destination category. Run `[p]autoroomset permissions` for a check. Joining is also rate limited to two creations per minute per member. ## AutoRoom channel is not deleted Deletion happens when the last member leaves. A bot or a member with a denied connect permission that remains in the channel keeps it alive. Check `[p]autoroomset settings` and the channel's current members. ## Renamer reports failures The bot's role must sit above the target member's highest role. Discord also forbids renaming the server owner and members with a higher role. Failures are counted, not explained per member.