diff options
Diffstat (limited to 'bot/seasons/valentines/savethedate.py')
| -rw-r--r-- | bot/seasons/valentines/savethedate.py | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/bot/seasons/valentines/savethedate.py b/bot/seasons/valentines/savethedate.py index 281625a4..34264183 100644 --- a/bot/seasons/valentines/savethedate.py +++ b/bot/seasons/valentines/savethedate.py @@ -12,7 +12,7 @@ log = logging.getLogger(__name__)  HEART_EMOJIS = [":heart:", ":gift_heart:", ":revolving_hearts:", ":sparkling_heart:", ":two_hearts:"] -with open(Path('bot', 'resources', 'valentines', 'date_ideas.json'), 'r', encoding="utf8") as f: +with open(Path("bot/resources/valentines/date_ideas.json"), "r", encoding="utf8") as f:      VALENTINES_DATES = load(f) @@ -25,7 +25,6 @@ class SaveTheDate(commands.Cog):      @commands.command()      async def savethedate(self, ctx):          """Gives you ideas for what to do on a date with your valentine.""" -          random_date = random.choice(VALENTINES_DATES['ideas'])          emoji_1 = random.choice(HEART_EMOJIS)          emoji_2 = random.choice(HEART_EMOJIS) @@ -39,6 +38,5 @@ class SaveTheDate(commands.Cog):  def setup(bot):      """Save the date Cog Load.""" -      bot.add_cog(SaveTheDate(bot))      log.info("SaveTheDate cog loaded") | 
