diff options
author | 2021-05-15 11:43:11 -0400 | |
---|---|---|
committer | 2021-05-15 11:43:11 -0400 | |
commit | 95e3bcbee2a68b1379b35c74872df70977cae592 (patch) | |
tree | 41aab2187c6a9f81ed269dad126f77bcd2e618bb /bot | |
parent | chore: Refactor more code to follow our style guide (diff) |
chore: Remove redundant f-strings
Diffstat (limited to 'bot')
-rw-r--r-- | bot/exts/christmas/advent_of_code/_cog.py | 2 | ||||
-rw-r--r-- | bot/exts/christmas/hanukkah_embed.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/christmas/advent_of_code/_cog.py b/bot/exts/christmas/advent_of_code/_cog.py index ce6a4cb6..ead84544 100644 --- a/bot/exts/christmas/advent_of_code/_cog.py +++ b/bot/exts/christmas/advent_of_code/_cog.py @@ -115,7 +115,7 @@ class AdventOfCode(commands.Cog): delta_str = f"{delta.days} days" await ctx.send( - f"The Advent of Code event is not currently running. " + "The Advent of Code event is not currently running. " f"The next event will start in {delta_str}." ) return diff --git a/bot/exts/christmas/hanukkah_embed.py b/bot/exts/christmas/hanukkah_embed.py index af5cfccf..77ef4684 100644 --- a/bot/exts/christmas/hanukkah_embed.py +++ b/bot/exts/christmas/hanukkah_embed.py @@ -67,14 +67,14 @@ class HanukkahEmbed(commands.Cog): hanukkah_start_hour = 18 if hours < hanukkah_start_hour: embed.description = ( - f"Hanukkah hasnt started yet, " + "Hanukkah hasnt started yet, " f"it will start in about {hanukkah_start_hour - hours} hour/s." ) await ctx.send(embed=embed) return elif hours > hanukkah_start_hour: embed.description = ( - f"It is the starting day of Hanukkah ! " + "It is the starting day of Hanukkah ! " f"Its been {hours - hanukkah_start_hour} hours hanukkah started !" ) await ctx.send(embed=embed) |