Only married users can kiss/cuddle

Only you can kiss/cuddle yourself
pull/8/head
sgoudham 5 years ago
parent b0cb96fe05
commit 0dd81114e1

@ -49,13 +49,13 @@ class Interactive(commands.Cog):
# Error handling to make sure that the user can kiss themselves # Error handling to make sure that the user can kiss themselves
if target.id == ctx.author.id: if target.id == ctx.author.id:
cuddle = False kiss = False
else: else:
cuddle = True kiss = True
# Make sure the user isn't trying to kiss someone else besides their partner # Make sure the user isn't trying to kiss someone else besides their partner
if not target.id == int(result[2]) and cuddle: if not target.id == int(result[2]) and kiss:
await ctx.send("Σ(‘◉⌓◉’) You can only cuddle your partner! Baka!") await ctx.send("Σ(‘◉⌓◉’) You can only kiss your partner! Baka!")
return return
# Surround with try/except to catch any exceptions that may occur # Surround with try/except to catch any exceptions that may occur

Loading…
Cancel
Save