From 2d4eb36afff8ce3701d76f295e7895b4de8259b0 Mon Sep 17 00:00:00 2001 From: Suhail Date: Sun, 24 Mar 2019 13:45:13 +0000 Subject: Save the Date - changed constant variable naming a requested change --- bot/seasons/valentines/savethedate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot') diff --git a/bot/seasons/valentines/savethedate.py b/bot/seasons/valentines/savethedate.py index ac69acc1..f460283a 100644 --- a/bot/seasons/valentines/savethedate.py +++ b/bot/seasons/valentines/savethedate.py @@ -13,7 +13,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: - valentine_dates = load(f) + VALENTINES_DATES = load(f) class SaveTheDate: @@ -29,7 +29,7 @@ class SaveTheDate: """ Gives you ideas for what to do on a date with your valentine. """ - random_date = random.choice(valentine_dates['ideas']) + random_date = random.choice(VALENTINES_DATES['ideas']) emoji_1 = random.choice(HEART_EMOJIS) emoji_2 = random.choice(HEART_EMOJIS) embed = discord.Embed( -- cgit v1.2.3