Membarr is a Discord bot that invites users to Plex and Jellyfin. You can automate this bot to invite discord users to a media server once a certain role is given to a user, or add users manually.
Fork maintained by YouKyi - Originally forked from Invitarr by Sleepingpirates, then Membarr by Yoruio.
- 🎬 Invite users to Plex and Jellyfin from Discord
- 🤖 Fully automatic invites using Discord roles
- 🚪 Auto-remove users from Plex/Jellyfin when they leave the server or lose their role
- 📊 View and edit the database directly from Discord
- 🌐 Bilingual messages - All user messages are sent in English 🇬🇧 and French 🇫🇷
- 🎥 Seer Request URL - Optionally send users a link to your Overseerr/Jellyseerr instance
/plex invite <email> - Add an email to Plex
/plex remove <email> - Remove an email from Plex
/jellyfin invite <username> - Add a user to Jellyfin
/jellyfin remove <username> - Remove a user from Jellyfin
/membarr dbls - List Membarr's database
/membarr dbadd <@user> <email> <jellyfin_username> - Add existing users to DB
/membarr dbrm <position> - Remove a record from the DB
services:
membarr:
image: ghcr.io/youkyi/membarr:latest
container_name: membarr
volumes:
- membarr_config:/app/app/config
environment:
- token=YOUR_DISCORD_BOT_TOKEN
- seer_request_url=https://your-overseerr-url.com # Optional
- discord_language=both # Options: both, en, fr
restart: unless-stopped
volumes:
membarr_config:docker run -d \
--name membarr \
--restart unless-stopped \
-v /path/to/config:/app/app/config \
-e "token=YOUR_DISCORD_BOT_TOKEN" \
-e "seer_request_url=https://your-overseerr-url.com" \
-e "discord_language=both" \
ghcr.io/youkyi/membarr:latest| Variable | Required | Description |
|---|---|---|
token |
✅ Yes | Discord bot token |
seer_request_url |
❌ No | URL to your Overseerr/Jellyseerr for movie requests |
discord_language |
❌ No | Language mode: both (EN+FR), en (English only), fr (French only). Default: both |
- Go to Discord Developer Portal and click 'New Application'
- Go to Bot section → Uncheck 'Public Bot'
- Enable all 3 Privileged Gateway Intents: Presence, Server Members, Message Content
- Copy the bot token
- Go to OAuth2 → URL Generator
- Check
botandapplications.commandsscopes - Copy the generated URL and add the bot to your server
/plexsettings setup <username> <password> <server name>
/plexsettings addrole <@role> - Set auto-invite role
/plexsettings removerole <@role> - Remove auto-invite role
/plexsettings setuplibs <libraries> - Set libraries (comma-separated)
/plexsettings enable - Enable Plex integration
/plexsettings disable - Disable Plex integration
/jellyfinsettings setup <server url> <api key> <optional: external url>
/jellyfinsettings addrole <@role> - Set auto-invite role
/jellyfinsettings removerole <@role> - Remove auto-invite role
/jellyfinsettings setuplibs <libraries> - Set libraries (comma-separated)
/jellyfinsettings enable - Enable Jellyfin integration
/jellyfinsettings disable - Disable Jellyfin integration
- Clone the repository
- Add your Discord bot token to
bot.env:discord_bot_token=YOUR_TOKEN_HERE seer_request_url=https://your-overseerr-url.com discord_language=both - Install dependencies:
pip3 install -r requirements.txt - Start the bot:
python3 run.py
Membarr uses a slightly different database table than Invitarr. The migration is automatic, but backup your app.db before running Membarr as the new format is not backwards compatible.
You will also need to reinvite your Discord bot with both bot and applications.commands scopes.
Contributions are welcome! Fork the dev branch, make your changes, and open a pull request.