aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Darth Delay <[email protected]>2019-02-05 20:25:22 +0100
committerGravatar Darth Delay <[email protected]>2019-02-05 20:25:22 +0100
commit7bec56bc466a1b707c92254a1fdde628d2bd5f81 (patch)
tree6554c3cd8f133d7b1938150030cac990ac0ef762
parentAdded lovecalculator.py as described in #96: (diff)
Added lovecalculator.py as described in #96:
- Includes LoveCalculator and somewhat of an error handler - Awaits two mentions like so: /love @user1#0000 @user2#0000 - Sends embed to the channel where /love has been called
-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 70f05d17..fef8aba2 100644
--- a/bot/seasons/valentines/lovecalculator.py
+++ b/bot/seasons/valentines/lovecalculator.py
@@ -61,7 +61,7 @@ class LoveCalculator:
def __init__(self, bot):
self.bot = bot
- @commands.command(aliases=('love_calculator', 'love_calc',))
+ @commands.command(aliases=('love_calculator', 'love_calc'))
async def love(self, ctx, name_one: discord.Member, name_two: discord.Member):
love_meter = (name_one.id + name_two.id) % 100
if love_meter >= 95: