aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Darth Delay <[email protected]>2019-02-05 20:06:40 +0100
committerGravatar Darth Delay <[email protected]>2019-02-05 20:06:40 +0100
commit4afc8338017225f9e797ca00ebbbfaf5afed4d19 (patch)
treeaf8332d8dee46cae5f1da18fe1d221dad93af796
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 27609942..70f05d17 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: