aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/valentines
diff options
context:
space:
mode:
authorGravatar ToxicKidz <[email protected]>2021-05-14 12:34:30 -0400
committerGravatar ToxicKidz <[email protected]>2021-05-14 12:34:30 -0400
commit92c33d625068b9b39564dbf4fb9f6c1102711955 (patch)
tree40ce3e18ff8df18cb09ca2c3b2c7f00fa7e5811a /bot/exts/valentines
parentchore: Break up the HelpSession.build_pages method (diff)
chore: Refactor more code to follow our style guide
Diffstat (limited to 'bot/exts/valentines')
-rw-r--r--bot/exts/valentines/movie_generator.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bot/exts/valentines/movie_generator.py b/bot/exts/valentines/movie_generator.py
index 4508c3b2..0fc5edb4 100644
--- a/bot/exts/valentines/movie_generator.py
+++ b/bot/exts/valentines/movie_generator.py
@@ -54,8 +54,10 @@ class RomanceMovieFinder(commands.Cog):
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" \
- " could be unavailable or the API key could be set incorrectly."
+ warning_message = (
+ "A KeyError was raised while fetching information on the movie. The API service"
+ " could be unavailable or the API key could be set incorrectly."
+ )
embed = discord.Embed(title=warning_message)
log.warning(warning_message)
await ctx.send(embed=embed)