aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Darth Delay <[email protected]>2019-02-05 21:05:50 +0100
committerGravatar Darth Delay <[email protected]>2019-02-05 21:05:50 +0100
commit4bcab96d8ef561acdd7c77a8840d3b0c02deb570 (patch)
tree40fa56b3cbcb8daf2ef97b24db77f3ee2505d791
parentAdd LoveCalculator as in #96 (diff)
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
-rw-r--r--bot/seasons/valentines/lovecalculator.py5
1 files changed, 3 insertions, 2 deletions
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__)