diff options
| author | 2019-02-22 21:19:50 +0530 | |
|---|---|---|
| committer | 2019-02-22 21:19:50 +0530 | |
| commit | 85fe1a25c8f71d49427d20e6047c6f80593b4364 (patch) | |
| tree | d02bc357e76438c7ac271a3ef1ec78a73c758fd7 /bot/seasons | |
| parent | Added a function called valentine check which checks if the the valetine that... (diff) | |
In the json file,i now have a list containing all the peoms/compliments in lists insted of dictionary.
Diffstat (limited to 'bot/seasons')
| -rw-r--r-- | bot/seasons/valentines/be_my_valentine.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/seasons/valentines/be_my_valentine.py b/bot/seasons/valentines/be_my_valentine.py index c6b9e619..163574c3 100644 --- a/bot/seasons/valentines/be_my_valentine.py +++ b/bot/seasons/valentines/be_my_valentine.py @@ -220,14 +220,14 @@ class BeMyValentine: Grabs a random poem. """ valentine_poem = random.choice(self.valentines['valentine_poems']) - return valentine_poem['message'] + return valentine_poem def valentine_compliment(self): """ Grabs a random compliment. """ valentine_compliment = random.choice(self.valentines['valentine_compliments']) - return valentine_compliment['message'] + return valentine_compliment def setup(bot): |