diff options
-rw-r--r-- | bot/resources/valentines/love_matches.json | 4 | ||||
-rw-r--r-- | bot/seasons/valentines/lovecalculator.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bot/resources/valentines/love_matches.json b/bot/resources/valentines/love_matches.json index a3d2c282..a39c5d6b 100644 --- a/bot/resources/valentines/love_matches.json +++ b/bot/resources/valentines/love_matches.json @@ -1,5 +1,5 @@ { - "0": { + "100": { "titles": [ "\ud83d\udc9b When will you two marry? \ud83d\udc9b", "\ud83d\udc9b Now kiss already \ud83d\udc9b" @@ -49,7 +49,7 @@ ], "text": "There might be a chance of this relationship working out somewhat well, but it is not very high. With a lot of time and effort you'll get it to work eventually, however don't count on it. It might fall apart quicker than you'd expect." }, - "1": { + "0": { "titles": [ "\ud83d\udc94 There's no real connection between you two \ud83d\udc94" ], diff --git a/bot/seasons/valentines/lovecalculator.py b/bot/seasons/valentines/lovecalculator.py index 9342f0fa..b995aef4 100644 --- a/bot/seasons/valentines/lovecalculator.py +++ b/bot/seasons/valentines/lovecalculator.py @@ -47,7 +47,7 @@ class LoveCalculator: staff = ctx.guild.get_role(Roles.helpers).members name_two = choice(staff) - love_meter = (name_one.id + name_two.id) % 100 + love_meter = (name_one.id + name_two.id) % 101 love_idx = str(sorted(x for x in LOVE_LEVELS if x <= love_meter)[-1]) love_status = choice(LOVE_DATA[love_idx]["titles"]) |