Frequently Asked Questions
This content is for v1.0.0. Switch to the latest version for up-to-date documentation.
How do I update yt-dlp?
Section titled “How do I update yt-dlp?”yt-dlp is a Python dependency. Update it with your package manager:
# With uvuv pip install --upgrade yt-dlp
# With pippip install --upgrade yt-dlpYou can also use the built-in auto-updater command (admin only):
!updatedependency yt-dlpThe bot can’t connect to my Mumble server
Section titled “The bot can’t connect to my Mumble server”Check the following:
- IP and port are correct. Verify with:
Terminal window python -m mumimo --ip <ip> --port <port> - Server password. If the server requires a password, pass it via
--passwordor set theMUMBLE_PASSWORDenvironment variable. - Server is reachable. Confirm the Mumble server is running and accessible from the bot’s host. Check firewalls and port forwarding.
- Username is available. The bot’s configured username may already be in use on the
server. Change the username in
config.tomlor via the--userflag.
Audio playback is choppy
Section titled “Audio playback is choppy”This is a known issue being tracked. The ffmpeg feeder needs better buffering. As a workaround:
- Reduce the queue length in your
config.toml. - Ensure
ffmpegis installed and up to date. - Use a wired connection if the Mumble server is remote.
- Avoid running the bot on a heavily loaded machine.
How do I disable a plugin?
Section titled “How do I disable a plugin?”Add the plugin name to the disabled_plugins list in your config.toml:
[plugin]disabled_plugins = ["sound_board", "images"]Disabled plugins are never loaded, regardless of mode.
How do I run in safe mode?
Section titled “How do I run in safe mode?”Use the --safe flag:
python -m mumimo --ip <ip> --port <port> --safeIn safe mode, only plugins listed in the safe_mode_plugins configuration are loaded.
By default this includes core_commands and bot_commands. You can customise the list
in config.toml:
[plugin]safe_mode_plugins = ["core_commands", "bot_commands"]How do I reset the database?
Section titled “How do I reset the database?”- Stop the bot.
- Delete the
.dbfile in your data directory (e.g.data/mumimo.db). - Restart the bot.
On the next boot, the database is recreated with the default schema. All stored users, roles, plugins, and aliases will be lost.
Python 3.13+ says “No module named audioop”
Section titled “Python 3.13+ says “No module named audioop””Python 3.13 removed the audioop module from the standard library. Mumimo declares
audioop-lts as a conditional dependency that is installed automatically on Python
3.13+. If it is missing:
pip install audioop-ltsThis should only be necessary if you installed dependencies manually without using
uv sync or pip install -e ..
How do I set up the AI assistant?
Section titled “How do I set up the AI assistant?”-
Get an API key from OpenRouter.
-
Add the key to your config. In
config.toml:[ai_assistant]api_key = "sk-or-v1-..."Alternatively, use an environment variable:
[ai_assistant]api_key_env_var = "OPENROUTER_API_KEY"Then export the variable before starting the bot:
Terminal window export OPENROUTER_API_KEY="sk-or-v1-..." -
Restart the bot and test with:
!chat Hello!
How do I change the bot’s command prefix?
Section titled “How do I change the bot’s command prefix?”Set command_token in config.toml under the [main] section:
[main]command_token = "!"You can change this to any string (e.g. ?, ., !m ). The prefix is used to
identify commands in Mumble chat.
How do I create a custom role?
Section titled “How do I create a custom role?”Define the role in config.toml under [roles.<name>]:
[roles.dj]description = "Can manage audio playback."Then assign it to users at runtime (admin only):
!role add <username> djTo remove a role:
!role remove <username> djTo list all assigned roles:
!role list