🐛
This commit is contained in:
@@ -79,8 +79,8 @@ class BedreNetflix():
|
|||||||
r = requests.post(url= radarrURL+"movie?apikey="+apiKey,json = postData)
|
r = requests.post(url= radarrURL+"movie?apikey="+apiKey,json = postData)
|
||||||
|
|
||||||
if r.status_code == 201:
|
if r.status_code == 201:
|
||||||
await channel.send("Movie successfully added to Bedre Netflix")
|
await channel.send(postData["title"]+" successfully added to Bedre Netflix")
|
||||||
logThis("Added a movie to Bedre Netflix")
|
logThis("Added "+postData["title"]+" to Bedre Netflix")
|
||||||
elif r.status_code == 400:
|
elif r.status_code == 400:
|
||||||
await channel.send("The movie is already on Bedre Netflix")
|
await channel.send("The movie is already on Bedre Netflix")
|
||||||
else:
|
else:
|
||||||
@@ -155,8 +155,8 @@ class BedreNetflix():
|
|||||||
r = requests.post(url= sonarrURL+"series?apikey="+apiKey,json = postData)
|
r = requests.post(url= sonarrURL+"series?apikey="+apiKey,json = postData)
|
||||||
|
|
||||||
if r.status_code == 201:
|
if r.status_code == 201:
|
||||||
await channel.send("Show successfully added to Bedre Netflix")
|
await channel.send(postData["title"]+" successfully added to Bedre Netflix")
|
||||||
logThis("Added a show to Bedre Netflix")
|
logThis("Added a "+postData["title"]+" to Bedre Netflix")
|
||||||
elif r.status_code == 400:
|
elif r.status_code == 400:
|
||||||
await channel.send("The show is already on Bedre Netflix")
|
await channel.send("The show is already on Bedre Netflix")
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user