From 25ebe4fe7704040da5d8b320bd3af836d4b252eb Mon Sep 17 00:00:00 2001 From: sgoudham Date: Tue, 14 Jul 2020 07:01:12 +0100 Subject: [PATCH] Make it so that unmarried users can still use the command --- cogs/anime/interactive.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cogs/anime/interactive.py b/cogs/anime/interactive.py index cf459cf2..b7ed03d7 100644 --- a/cogs/anime/interactive.py +++ b/cogs/anime/interactive.py @@ -57,6 +57,9 @@ class Interactive(commands.Cog): if not target.id == int(result[2]) and kiss: await ctx.send("Σ(‘◉⌓◉’) You can only kiss your partner! Baka!") return + elif int(result[2]) is None and kiss: + await ctx.send("Σ(‘◉⌓◉’) You need to be married in order to use this command! Baka!") + return # Surround with try/except to catch any exceptions that may occur try: