aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/valentines
diff options
context:
space:
mode:
authorGravatar Will Da Silva <[email protected]>2020-10-16 15:04:49 -0400
committerGravatar Will Da Silva <[email protected]>2020-10-16 15:04:49 -0400
commite2dc935bef17e1cb8b361e30c052dba9ef76f995 (patch)
tree7a98620ff37e889c9ee695097e18b9dd09d597a0 /bot/exts/valentines
parentConstants: prefix sprint channel names (diff)
Comply with TMDB API ToS
Diffstat (limited to 'bot/exts/valentines')
-rw-r--r--bot/exts/valentines/movie_generator.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/exts/valentines/movie_generator.py b/bot/exts/valentines/movie_generator.py
index 0843175a..4df9e0d5 100644
--- a/bot/exts/valentines/movie_generator.py
+++ b/bot/exts/valentines/movie_generator.py
@@ -48,6 +48,8 @@ class RomanceMovieFinder(commands.Cog):
embed.set_image(url=f"http://image.tmdb.org/t/p/w200/{selected_movie['poster_path']}")
embed.add_field(name="Release date :clock1:", value=selected_movie["release_date"])
embed.add_field(name="Rating :star2:", value=selected_movie["vote_average"])
+ embed.set_footer(text="This product uses the TMDb API but is not endorsed or certified by TMDb.")
+ embed.set_thumbnail(url="https://i.imgur.com/LtFtC8H.png")
await ctx.send(embed=embed)
except KeyError:
warning_message = "A KeyError was raised while fetching information on the movie. The API service" \