Skip to content

Filling out settings

Faiz Ahmed edited this page Jul 26, 2021 · 6 revisions

Filling out settings in Invitarr.py

Enable Intents else bot will not Dm users after they get the role.

https://discordpy.readthedocs.io/en/latest/intents.html#privileged-intents

Paste the discord bot token into bot.env. Example: Discord_bot_token = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'

If you are using docker make sure to pass the token when running docker run.

docker run -d --restart unless-stopped --name invitarr -v /path to config:/app/app/config -e "token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" piratify/invitarr:latest

Follow this guide on how to get the discord bot token. Note: When inviting the bot to your discord server make sure it has “Administrator” permission.

Plex setup

Once the bot has been started. Use command .setupplex

The bot will dm you asking for your login details.

For plex username enter your plex username or plex login email. For plex password enter your plex password

For Plex server name enter the exact name of your server. If you are not sure then Go to your plex settings -> your server settings -> general -> Friendly name. Copy and paste it here.

Roles

Once the bot has been started.

Use command .roleadd <@role>

This is the role that will trigger the bot to get the email from the user and invite them to Plex Note: Auto Plex invite only works when someone is given this role and won't message the user if they already have this role.

Plex Libraries

By default when a user is invited to plex they will have access to all Libraries.

To change this use command `.setuplibs'

Make sure to type in a comma separated list. Remember this is case sensitive. No spaces before or after comma

Example: Movies,Tv Shows

Clone this wiki locally