From 0dd81114e1b85a9ac460aa5a02f7ecacfb28ce02 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Tue, 14 Jul 2020 06:50:43 +0100 Subject: [PATCH] Only married users can kiss/cuddle Only you can kiss/cuddle yourself --- cogs/anime/interactive.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cogs/anime/interactive.py b/cogs/anime/interactive.py index aefa5c0a..cf459cf2 100644 --- a/cogs/anime/interactive.py +++ b/cogs/anime/interactive.py @@ -49,13 +49,13 @@ class Interactive(commands.Cog): # Error handling to make sure that the user can kiss themselves if target.id == ctx.author.id: - cuddle = False + kiss = False else: - cuddle = True + kiss = True # Make sure the user isn't trying to kiss someone else besides their partner - if not target.id == int(result[2]) and cuddle: - await ctx.send("Σ(‘◉⌓◉’) You can only cuddle your partner! Baka!") + if not target.id == int(result[2]) and kiss: + await ctx.send("Σ(‘◉⌓◉’) You can only kiss your partner! Baka!") return # Surround with try/except to catch any exceptions that may occur