From b7a4db9f8bda4438945e0bedc9ac3fa21bf5aeec Mon Sep 17 00:00:00 2001 From: WubzyGD Date: Mon, 31 Jan 2022 16:59:24 -0700 Subject: [PATCH] let staff add images --- commands/fun/bite.js | 2 +- commands/fun/slap.js | 2 +- commands/social/angry.js | 2 +- commands/social/blush.js | 2 +- commands/social/bonk.js | 2 +- commands/social/cry.js | 2 +- commands/social/dance.js | 2 +- commands/social/dodge.js | 2 +- commands/social/fuck.js | 2 +- commands/social/hug.js | 2 +- commands/social/kiss.js | 2 +- commands/social/laugh.js | 2 +- commands/social/pat.js | 2 +- commands/social/run.js | 2 +- commands/social/sip.js | 2 +- commands/social/smile.js | 2 +- commands/social/snuggle.js | 2 +- commands/social/spank.js | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/commands/fun/bite.js b/commands/fun/bite.js index bef733a..511b747 100644 --- a/commands/fun/bite.js +++ b/commands/fun/bite.js @@ -33,7 +33,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 Natsuki Developer in order to add new bite GIFs.");} + if ((!tu || !tu.staff) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Natsuki Staff member in order to add new bite GIFs.");} let e = true; let id; while (e === true) {id = makeId(6); if (!saves.has(id)) {e = false;}} diff --git a/commands/fun/slap.js b/commands/fun/slap.js index cc05d17..b70d054 100644 --- a/commands/fun/slap.js +++ b/commands/fun/slap.js @@ -41,7 +41,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 Natsuki Developer in order to add new slap GIFs.");} + if ((!tu || !tu.staff) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Natsuki Staff member in order to add new slap GIFs.");} let e = true; let id; while (e === true) {id = makeId(6); if (!saves.has(id)) {e = false;}} diff --git a/commands/social/angry.js b/commands/social/angry.js index ae2210d..ea615e0 100644 --- a/commands/social/angry.js +++ b/commands/social/angry.js @@ -24,7 +24,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 Natsuki Developer in order to add new angry GIFs.");} + if ((!tu || !tu.staff) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Natsuki Staff member in order to add new angry GIFs.");} let e = true; let id; while (e === true) {id = makeId(6); if (!saves.has(id)) {e = false;}} diff --git a/commands/social/blush.js b/commands/social/blush.js index 8580b6e..635b2ca 100644 --- a/commands/social/blush.js +++ b/commands/social/blush.js @@ -23,7 +23,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 Natsuki Developer in order to add new sip GIFs.");} + if ((!tu || !tu.staff) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Natsuki Staff member in order to add new sip GIFs.");} let e = true; let id; while (e === true) {id = makeId(6); if (!saves.has(id)) {e = false;}} diff --git a/commands/social/bonk.js b/commands/social/bonk.js index 949615c..d78c068 100644 --- a/commands/social/bonk.js +++ b/commands/social/bonk.js @@ -48,7 +48,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 Natsuki Developer in order to add new bonk GIFs.");} + if ((!tu || !tu.staff) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Natsuki Staff member in order to add new bonk GIFs.");} let e = true; let id; while (e === true) {id = makeId(6); if (!saves.has(id)) {e = false;}} diff --git a/commands/social/cry.js b/commands/social/cry.js index f9276b1..57b594d 100644 --- a/commands/social/cry.js +++ b/commands/social/cry.js @@ -24,7 +24,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 Natsuki Developer in order to add new cry GIFs.");} + if ((!tu || !tu.staff) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Natsuki Staff member in order to add new cry GIFs.");} let e = true; let id; while (e === true) {id = makeId(6); if (!saves.has(id)) {e = false;}} diff --git a/commands/social/dance.js b/commands/social/dance.js index 77ab09a..be293da 100644 --- a/commands/social/dance.js +++ b/commands/social/dance.js @@ -24,7 +24,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 Natsuki Developer in order to add new dance GIFs.");} + if ((!tu || !tu.staff) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Natsuki Staff member in order to add new dance GIFs.");} let e = true; let id; while (e === true) {id = makeId(6); if (!saves.has(id)) {e = false;}} diff --git a/commands/social/dodge.js b/commands/social/dodge.js index 2fbfe44..d3ed8e0 100644 --- a/commands/social/dodge.js +++ b/commands/social/dodge.js @@ -24,7 +24,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 Natsuki Developer in order to add new smile GIFs.");} + if ((!tu || !tu.staff) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Natsuki Staff member in order to add new smile GIFs.");} let e = true; let id; while (e === true) {id = makeId(6); if (!saves.has(id)) {e = false;}} diff --git a/commands/social/fuck.js b/commands/social/fuck.js index d236f1e..9cd53e5 100644 --- a/commands/social/fuck.js +++ b/commands/social/fuck.js @@ -58,7 +58,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 Natsuki Developer in order to add new bang GIFs.");} + if ((!tu || !tu.staff) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Natsuki Staff member in order to add new bang GIFs.");} let e = true; let id; while (e === true) {id = makeId(6); if (!saves.has(id)) {e = false;}} diff --git a/commands/social/hug.js b/commands/social/hug.js index ae47c13..6472fad 100644 --- a/commands/social/hug.js +++ b/commands/social/hug.js @@ -48,7 +48,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 Natsuki Developer in order to add new hug GIFs.");} + if ((!tu || !tu.staff) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Natsuki Staff member in order to add new hug GIFs.");} let e = true; let id; while (e === true) {id = makeId(6); if (!saves.has(id)) {e = false;}} diff --git a/commands/social/kiss.js b/commands/social/kiss.js index d7cc506..e089be9 100644 --- a/commands/social/kiss.js +++ b/commands/social/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 Natsuki Developer in order to add new kiss GIFs.");} + if ((!tu || !tu.staff) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Natsuki Staff member 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/commands/social/laugh.js b/commands/social/laugh.js index ae42664..f260bbe 100644 --- a/commands/social/laugh.js +++ b/commands/social/laugh.js @@ -24,7 +24,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 Natsuki Developer in order to add new laugh GIFs.");} + if ((!tu || !tu.staff) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Natsuki Staff member in order to add new laugh GIFs.");} let e = true; let id; while (e === true) {id = makeId(6); if (!saves.has(id)) {e = false;}} diff --git a/commands/social/pat.js b/commands/social/pat.js index c47c0d0..8a9068f 100644 --- a/commands/social/pat.js +++ b/commands/social/pat.js @@ -49,7 +49,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 Natsuki Developer in order to add new hug GIFs.");} + if ((!tu || !tu.staff) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Natsuki Staff member in order to add new hug GIFs.");} let e = true; let id; while (e === true) {id = makeId(6); if (!saves.has(id)) {e = false;}} diff --git a/commands/social/run.js b/commands/social/run.js index 2f7a9d8..33653fa 100644 --- a/commands/social/run.js +++ b/commands/social/run.js @@ -24,7 +24,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 Natsuki Developer in order to add new running GIFs.");} + if ((!tu || !tu.staff) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Natsuki Staff member in order to add new running GIFs.");} let e = true; let id; while (e === true) {id = makeId(6); if (!saves.has(id)) {e = false;}} diff --git a/commands/social/sip.js b/commands/social/sip.js index 52b56a9..4e7360a 100644 --- a/commands/social/sip.js +++ b/commands/social/sip.js @@ -23,7 +23,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 Natsuki Developer in order to add new sip GIFs.");} + if ((!tu || !tu.staff) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Natsuki Staff member in order to add new sip GIFs.");} let e = true; let id; while (e === true) {id = makeId(6); if (!saves.has(id)) {e = false;}} diff --git a/commands/social/smile.js b/commands/social/smile.js index b068ad2..b89b8f5 100644 --- a/commands/social/smile.js +++ b/commands/social/smile.js @@ -24,7 +24,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 Natsuki Developer in order to add new smile GIFs.");} + if ((!tu || !tu.staff) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Natsuki Staff member in order to add new smile GIFs.");} let e = true; let id; while (e === true) {id = makeId(6); if (!saves.has(id)) {e = false;}} diff --git a/commands/social/snuggle.js b/commands/social/snuggle.js index e75a2f2..663026a 100644 --- a/commands/social/snuggle.js +++ b/commands/social/snuggle.js @@ -49,7 +49,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 Natsuki Developer in order to add new snuggle GIFs.");} + if ((!tu || !tu.staff) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Natsuki Staff member in order to add new snuggle GIFs.");} let e = true; let id; while (e === true) {id = makeId(6); if (!saves.has(id)) {e = false;}} diff --git a/commands/social/spank.js b/commands/social/spank.js index 57a8761..17c62ab 100644 --- a/commands/social/spank.js +++ b/commands/social/spank.js @@ -39,7 +39,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 Natsuki Developer in order to add new spank GIFs.");} + if ((!tu || !tu.staff) && !client.misc.savers.includes(message.author.id)) {return message.reply("You must be a Natsuki Staff member in order to add new spank GIFs.");} let e = true; let id; while (e === true) {id = makeId(6); if (!saves.has(id)) {e = false;}}