From 39597f245c3f5abb0b0f04977d8c6e080d701712 Mon Sep 17 00:00:00 2001 From: WubzyGD Date: Wed, 23 Feb 2022 16:54:13 -0700 Subject: [PATCH] can't marry yourself lul --- commands/fun/marry.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/fun/marry.js b/commands/fun/marry.js index b326944..f4a4218 100644 --- a/commands/fun/marry.js +++ b/commands/fun/marry.js @@ -34,6 +34,7 @@ module.exports = { if (!message.guild.members.cache.has(mention.id)) {return message.channel.send("I can't find that user! Make sure they're in this server before trying to marry them, or go to a server they're in. If you're certain that person is in this server, then wait for them to come online and send a message first; that might help.");} if (mention.id === client.user.id) {return message.channel.send("I'm actually already married! Well, I will be soon, to my girlfriend Tamaki. I love her very much <:NC_hearty:841489530413383712>");} if (mention.bot) {return message.channel.send("Us bots aren't smart enough to respond to a marriage request and we're really too boring to wanna marry in the first place, so I'll just stop you in your tracks now.");} + if (mention.id === message.author.id) {return message.channel.send("ehe :sweat_smile: it doesn't work that way...");} const tu = await UserData.findOne({uid: message.author.id}) || new UserData({uid: message.author.id}); if (tu.marriedTo) {return message.channel.send("Looks like you're already married to someone. Cheating, are we?");} const ou = await UserData.findOne({uid: mention.id}) || new UserData({uid: mention.id});