]> git.lizzy.rs Git - furrybot-discord.git/blobdiff - marriage.js
Implement NSFW
[furrybot-discord.git] / marriage.js
index f4704b47cb0b949f7e60670cf3241891acf24dcd..9a9d7ff80fca1e2b33756076f11dfb57df9b2d5d 100644 (file)
@@ -3,15 +3,13 @@ const google_images = require("free-google-images")
 let marriages = common.storageLoad("marriages") || {}
 
 module.exports = {
-       marry: common.requestCommand("marry another user", (msg, target) => {
+       marry: common.requestCommand("marry another user", "is proposing to you", (msg, target) => {
                const origin = msg.author.id
-       
+
                if (marriages[origin])
                        return `You are already married to <@!${marriages[origin]}>.`
                else if (marriages[target])
                        return `<@!${target}> is already married to <@!${marriages[target]}>.`
-               else
-                       msg.channel.send(`<@!${target}>: <@!${origin}> is proposing to you. Type !accept to accept or !deny to deny.`)
        }, (msg, origin) => {
                const target = msg.author.id