Make it so that unmarried users can still use the command

pull/8/head
sgoudham 4 years ago
parent 0dd81114e1
commit 25ebe4fe77

@ -57,6 +57,9 @@ class Interactive(commands.Cog):
if not target.id == int(result[2]) and kiss: if not target.id == int(result[2]) and kiss:
await ctx.send("Σ(‘◉⌓◉’) You can only kiss your partner! Baka!") await ctx.send("Σ(‘◉⌓◉’) You can only kiss your partner! Baka!")
return 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 # Surround with try/except to catch any exceptions that may occur
try: try:

Loading…
Cancel
Save