aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2019-02-15 19:02:26 +0100
committerGravatar GitHub <[email protected]>2019-02-15 19:02:26 +0100
commit14c5baf27365709bd66c28b65d4d0097fdcbef97 (patch)
tree4351dba88ef631d5b4fd48d09b4692caed888bee /bot/seasons
parentMerge pull request #100 from darthdelay/lovecalculator (diff)
parentFix LoveCalculator 0% bug (diff)
Merge pull request #117 from darthdelay/lovecalculator
Fix LoveCalculator 0% bug
Diffstat (limited to 'bot/seasons')
-rw-r--r--bot/seasons/valentines/lovecalculator.py2
1 files changed, 1 insertions, 1 deletions
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"])