36 lines
1.6 KiB
Markdown
36 lines
1.6 KiB
Markdown
[](https://discord.gg/vcxCytN)
|
|
[](https://hub.docker.com/r/piratify/invitarr)
|
|

|
|
# Invitarr
|
|
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>
|
|
This command is used to add an email to plex
|
|
-plexrm <email>
|
|
This command is used to remove an email from plex
|
|
-db ls
|
|
This command is used to list Invitarrs database
|
|
-db add <email> <@user>
|
|
This command is used to add exsisting users email and discord id to the DB.
|
|
-db rm <position>
|
|
This command is used to remove a record from the Db. Use -db ls to determine record position. ex: -db rm 1
|
|
```
|
|
|
|
# Docker Setup & Start
|
|
|
|
```
|
|
docker pull piratify/invitarr:latest
|
|
docker run -d --restart unless-stopped --name invitarr -v /path to config:/app/app/config -p 5001:5001 piratify/invitarr:latest
|
|
```
|
|
|
|
Refer to the [Wiki](https://github.com/Sleepingpirates/Invitarr/wiki) for detailed steps.
|
|
|
|
# Screenshots
|
|

|