Update Invitarr.py

This commit is contained in:
Sleepingpirates
2020-05-12 15:44:05 -04:00
committed by GitHub
parent 65250cd45e
commit 59e6033ad6

View File

@@ -8,10 +8,11 @@ from discord import Webhook, AsyncWebhookAdapter
import aiohttp import aiohttp
# settings # settings
Discord_bot_token = ''
roleid = ''
PLEXUSER = '' PLEXUSER = ''
PLEXPASS = '' PLEXPASS = ''
PLEX_SERVER_NAME = '' PLEX_SERVER_NAME = ''
roleid = ''
Plex_LIBS = ["Movies","TV Shows"] #name of the libraries you want the user to have access to. Plex_LIBS = ["Movies","TV Shows"] #name of the libraries you want the user to have access to.
Webhookurl = '' # For logging the user repiles, create a webhook to the discord channel you want to log this in. Webhookurl = '' # For logging the user repiles, create a webhook to the discord channel you want to log this in.
@@ -58,4 +59,4 @@ class MyClient(discord.Client):
await webhook.send(plexname + ' was added to plex', username='Logger') await webhook.send(plexname + ' was added to plex', username='Logger')
client = MyClient() client = MyClient()
client.run('token-here') client.run(Discord_bot_token)