diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2022-03-06 13:48:10 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2022-03-06 13:48:10 +0100 |
commit | 34d0cf9d14647c088a2683153b92c7d72bb21614 (patch) | |
tree | e9e4b43166a64bdcf7a6109b666cb545d84491c7 /marriage.js | |
parent | 766e86b48346b2a91ac99ad17ad7a52595f7e6b2 (diff) | |
download | furrybot-discord-34d0cf9d14647c088a2683153b92c7d72bb21614.tar.xz |
Implement NSFW
Diffstat (limited to 'marriage.js')
-rw-r--r-- | marriage.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/marriage.js b/marriage.js index f4704b4..9a9d7ff 100644 --- a/marriage.js +++ b/marriage.js @@ -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 |