From 4bcab96d8ef561acdd7c77a8840d3b0c02deb570 Mon Sep 17 00:00:00 2001 From: Darth Delay Date: Tue, 5 Feb 2019 21:05:50 +0100 Subject: Add LoveCalculator as in #96 This love calculator uses two user-IDs, adds them together and takes the modulus of 100 from it. Invocation: .love @user1#0000 @user2#0000 --- bot/seasons/valentines/lovecalculator.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bot') diff --git a/bot/seasons/valentines/lovecalculator.py b/bot/seasons/valentines/lovecalculator.py index 3387ec86..f3e4c692 100644 --- a/bot/seasons/valentines/lovecalculator.py +++ b/bot/seasons/valentines/lovecalculator.py @@ -1,8 +1,9 @@ +import logging +from random import randint + import discord from discord.ext import commands -from random import randint -import logging logger = logging.getLogger(__name__) -- cgit v1.2.3