Plex Discord Bot to invite a user to a plex server once a user gets a certain role in discord.
Once a role is given to the discord user, they get a direct message asking for their email and their email gets added to plex.
If the discord user loses their role their email is also removed from plex. (You can disable this and the database if you want.)
Commands:
-plexadd "email" #To add an email to plex.
-plexrm "email" #To remove an email that is in plex.
-dbadd "email" @user #To link an exsisting user's plex email and discord account.
Envs:
PLEXUSER=
PLEXPASS=
PLEX_SERVER_NAME=
Plex_LIBS=
ownerid=
discord_bot_token=
roleid=
channelid=
autoremoveuser=True #Default is set to False. This enables database and auto-remove.
Refer to the Wiki for detailed steps.
Quick Link to docker -> https://hub.docker.com/r/piratify/invitarr