From e45852e081fb117e2463910a8f9b5d51a61d8b18 Mon Sep 17 00:00:00 2001 From: WubzyGD Date: Wed, 21 Apr 2021 18:15:51 -0600 Subject: [PATCH] buggies --- commands/fun/kiss.js | 2 +- responses/crescent.js | 0 responses/wubzy.js | 8 ++++---- 3 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 responses/crescent.js diff --git a/commands/fun/kiss.js b/commands/fun/kiss.js index e5d4ebf..3fe0c1d 100644 --- a/commands/fun/kiss.js +++ b/commands/fun/kiss.js @@ -38,7 +38,7 @@ module.exports = { if (['s', 'save', 'n', 'new', 'a', 'add'].includes(args[0].toLowerCase())) { if (!args[1]) {return message.channel.send('oi there cunt, give me a link of an image to add!');} let tu = await UserData.findOne({uid: message.author.id}); - if ((!tu || !tu.developer) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Luno Developer in order to add new kiss GIFs.");} + if ((!tu || !tu.developer) && !client.developers.includes(message.author.id) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Luno Developer in order to add new kiss GIFs.");} let e = true; let id; while (e === true) {id = makeId(6); if (!saves.has(id)) {e = false;}} diff --git a/responses/crescent.js b/responses/crescent.js new file mode 100644 index 0000000..e69de29 diff --git a/responses/wubzy.js b/responses/wubzy.js index 725c0cc..a4edf9c 100644 --- a/responses/wubzy.js +++ b/responses/wubzy.js @@ -16,7 +16,7 @@ module.exports = { const is = m => msg.trim() === m; function incl(ml, s) {let tm; for (tm of ml) {if (inc(tm, s)) {return true;}}} - if (incl(["thanks Luno", "thank you Luno", "ty Luno"])) { + if (incl(["thanks luno", "thank you luno", "ty luno"])) { const r = ["Anytime!", "Anything for my creator!", "I hope I was at least a little bit helpful!", ":P Happy to help!", "You're welcome, Wubzy!", "Always happy to help you, Wubz", "I do take tips :D"]; @@ -29,7 +29,7 @@ module.exports = { if (m.author.id === client.user.id) {return message.channel.send(":heart:");} } - if (incl(['gn Luno', 'goodnight Luno', 'night Luno'])) { + if (incl(['gn luno', 'goodnight luno', 'night luno'])) { const r = ["Goodnight! :)", "Night Wubbo. Hope you weren't up too late working on me!", "Sleep well!", "Yeah, I was just headed to bed, too.", "<:awoo:750131415693393950> glad you're getting some sleep ^^ ~"]; message.channel.send(`${r[Math.floor(Math.random() * r.length)]} Want me to set your status before you go off?`); @@ -51,7 +51,7 @@ module.exports = { } else {return message.channel.send("Oh... well, goodnight! Let me know when you're up, this castle gets so lonely when you're asleep");} } - if (inc('anime') && incl(['we binging', 'am i watching', 'should i watch', 'to watch', 'we watching', "am i gonna watch", "are we gonna watch"]) && inc("Luno")) { + if (inc('anime') && incl(['we binging', 'am i watching', 'should i watch', 'to watch', 'we watching', "am i gonna watch", "are we gonna watch"]) && inc("luno")) { async function q() { let sconf; const r1 = ["Hmm, you could", "You could always", "How about you", "You can", "Tough question. Maybe", "Glad you asked! You should", "Oh I know the perfect one:"]; @@ -91,7 +91,7 @@ module.exports = { return; } else {return message.channel.send("Watching anime in incognito are we? I gotcha :p");} } - if (['hey Luno', 'hey Luno?', 'yo Luno'].includes(msg.trim())) { + if (['hey luno', 'hey luno?', 'yo luno'].includes(msg.trim())) { let r = ["What's up?", "Hm?", "How can I help?", "Heya ^^", "Hey there Wubbo", "What's up Wubzy?", "Soup", "hehe sup"]; } }