From cfd81dfdd591c7fc3c92c0da07c45b622c66b2a2 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 6 Feb 2021 12:07:33 -0600 Subject: [PATCH] Fix GIF issue on action commands (I hope) --- cuddle.js | 36 ++++++++++++++++++++++++++++ hug.js | 54 +++++++++++++++++++++++++++++++++++++++++ kiss.js | 60 ++++++++++++++++++++++++++++++++++++++++++++++ leskiss.js | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ lick.js | 58 ++++++++++++++++++++++++++++++++++++++++++++ nom.js | 57 ++++++++++++++++++++++++++++++++++++++++++++ pat.js | 56 +++++++++++++++++++++++++++++++++++++++++++ poke.js | 56 +++++++++++++++++++++++++++++++++++++++++++ slap.js | 47 ++++++++++++++++++++++++++++++++++++ snuggle.js | 36 ++++++++++++++++++++++++++++ 10 files changed, 530 insertions(+) create mode 100644 cuddle.js create mode 100644 hug.js create mode 100644 kiss.js create mode 100644 leskiss.js create mode 100644 lick.js create mode 100644 nom.js create mode 100644 pat.js create mode 100644 poke.js create mode 100644 slap.js create mode 100644 snuggle.js diff --git a/cuddle.js b/cuddle.js new file mode 100644 index 0000000..15f1e41 --- /dev/null +++ b/cuddle.js @@ -0,0 +1,36 @@ +module.exports = { + + name: "cuddle", + description: "Cuddle an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + + // -------------------------------------- + const gifchoices = [ + "https://i.pinimg.com/originals/4d/89/d7/4d89d7f963b41a416ec8a55230dab31b.gif", + "https://media1.tenor.com/images/6d73b0a9cadef5310be4b6160d2f959a/tenor.gif?itemid=12099823", + "https://media.tenor.com/images/2636cf3c8152631b4630bf71757a4afa/tenor.gif", + "https://i.imgur.com/JiFpT5E.gif" + ]; + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1); + var gif = (gifchoices[index]); + // --------------------------------------- + + const embed = { + "title": ":heart: Cuddle", + "description": "<@" + taggedUser + ">" + " You have been cuddled by " + "<@" + messageAuthor + ">!", + "color": 9442302, + "footer": { + "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + }, + "image": { + "url": gif + } + } + + + message.channel.send({ embed: embed }); + } + } diff --git a/hug.js b/hug.js new file mode 100644 index 0000000..d2dc354 --- /dev/null +++ b/hug.js @@ -0,0 +1,54 @@ +module.exports = { + + name: "hug", + description: "Hugs an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + const gifchoices = [ + "https://cdn.discordapp.com/attachments/803658122299572255/807670647920001044/hug2.gif", + "https://cdn.discordapp.com/attachments/803658122299572255/807670797983285268/hug1.gif", + "https://cdn.discordapp.com/attachments/803658122299572255/807670951113392178/gif6.gif", + "https://cdn.discordapp.com/attachments/803658122299572255/807670972965453824/hug3.gif", + "https://cdn.discordapp.com/attachments/803658122299572255/807671126376972308/gif4.gif" + ]; + //--------------------------------- + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 9442302, + "footer": { + "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2); + var gif = (gifchoices[index]); + const embed = { + "title": " Hug", + "description": "<@" + taggedUser + ">" + " You have been hugged by " + "<@" + messageAuthor + ">!", + "color": 8311585, + "footer": { + "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + }, + "image": { + "url": gif + } + } + + + message.channel.send({ embed: embed }); + } + } diff --git a/kiss.js b/kiss.js new file mode 100644 index 0000000..2e80494 --- /dev/null +++ b/kiss.js @@ -0,0 +1,60 @@ +module.exports = { + + name: "kiss", + description: "Kisses an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + + + // -------------------------------------- + const gifchoices = [ + "https://cdn.discordapp.com/attachments/803658122299572255/807671954055626812/kiss5.gif", + "https://cdn.discordapp.com/attachments/803658122299572255/807671956236140554/kiss2.gif", + "https://cdn.discordapp.com/attachments/803658122299572255/807671964599713862/kiss1.gif", + "https://cdn.discordapp.com/attachments/803658122299572255/807671971168387082/kiss4.gif", + "https://cdn.discordapp.com/attachments/803658122299572255/807672017217781840/kiss3.gif" + ]; + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1); + var gif = (gifchoices[index]); + // --------------------------------------- + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "footer": { + "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + } + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + const embed = { + "title": ":heart: Kiss", + "description": "<@" + taggedUser + ">" + ", You have been kissed by <@" + messageAuthor + ">!", + "color": 9442302, + "footer": { + "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + }, + "image": { + "url": gif + } + } + + + message.channel.send({ embed: embed }); + } + } diff --git a/leskiss.js b/leskiss.js new file mode 100644 index 0000000..9412e16 --- /dev/null +++ b/leskiss.js @@ -0,0 +1,70 @@ +const { Message } = require("discord.js"); +const { execute } = require("./info"); + +module.exports = { + + name: "leskiss", + description: "Lesbian kiss <:lesbian:803831629428686849>", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + // -------------------------------------- + const gifchoices = [ + "https://cdn.discordapp.com/attachments/793537380330111028/803833954750038066/gif5.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803833959338475550/gif12.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834034135236628/gif9.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834082034843658/gif18.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834094063583302/gif8.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834099869024296/gif10.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834132035665950/gif16.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834146413084713/gif13.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834249425715210/gif22.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834323898990592/gif11.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834328848793650/gif14.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834391226351676/gif17.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834391226351676/gif17.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834498714304522/gif15.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834514269798460/gif19.gif" + + ]; + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1.75); + var gif = (gifchoices[index]); + // --------------------------------------- + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 9442302, + "footer": { + "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + + + const embed = { + "title": ":heart: <:lesbian:803831629428686849> Kiss", + "description": "<@" + taggedUser + ">" + " You have been kissed by <@" + messageAuthor + ">! <:lesbian:803831629428686849>", + "color": 8311585, + "footer": { + "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + }, + "image": { + "url": gif + } + } + + + message.channel.send({ embed: embed }); + } +} diff --git a/lick.js b/lick.js new file mode 100644 index 0000000..4851bbf --- /dev/null +++ b/lick.js @@ -0,0 +1,58 @@ +module.exports = { + + name: "lick", + description: "Licks an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); +//--------------------------------------------------- + // -------------------------------------- + const gifchoices = [ + "https://cdn.discordapp.com/attachments/803658122299572255/805314244123951114/cef569820773b0f5d54ee34cfa18e1f8.gif", + "https://cdn.lowgif.com/full/2027501b8fa5225c-.gif", + "https://i.gifer.com/36Nx.gif", + "https://media.tenor.com/images/e8bbe712a5f36bbe9545930894b08bf9/tenor.gif" + + +]; +const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1); +var gif = (gifchoices[index]); +// --------------------------------------- +//--------------------------------------------------- +const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 9442302, + "footer": { + "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] +}; + +if(!taggedUser) { + return message.channel.send({ embed: errorembed}); +// Checks if a user was mentioned. If not, returns error message. +} + + const embed = { + "title": " Lick", + "description": "<@" + taggedUser + "> You have been licked by <@" + messageAuthor + ">!", + "color": 8311585, + "footer": { + "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + }, + "image": { + "url": "https://cdn.discordapp.com/attachments/803658122299572255/805314244123951114/cef569820773b0f5d54ee34cfa18e1f8.gif" + } + } + + + message.channel.send({ embed: embed }); + } + } diff --git a/nom.js b/nom.js new file mode 100644 index 0000000..4956020 --- /dev/null +++ b/nom.js @@ -0,0 +1,57 @@ +module.exports = { + + name: "nom", + description: "Noms an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + + // -------------------------------------- + const gifchoices = [ + "https://i.imgur.com/Ns1RBzX.gif", + "https://cdn.lowgif.com/full/2027501b8fa5225c-.gif", + "https://i.gifer.com/36Nx.gif", + "https://media.tenor.com/images/e8bbe712a5f36bbe9545930894b08bf9/tenor.gif" + + + ]; + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1); + var gif = (gifchoices[index]); + // --------------------------------------- + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 9442302, + "footer": { + "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + + const embed = { + "title": "<:BlobNomBlob:801241117919805510> Nom", + "description": "<@" + taggedUser + "> You have been nommed by <@" + messageAuthor + ">!", + "color": 8311585, + "footer": { + "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + }, + "image": { + "url": gif + } + } + + + message.channel.send({ embed: embed }); + } + } diff --git a/pat.js b/pat.js new file mode 100644 index 0000000..033b062 --- /dev/null +++ b/pat.js @@ -0,0 +1,56 @@ +module.exports = { + + name: "pat", + description: "Pats an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + + // -------------------------------------- + const gifchoices = [ + "https://cdn.discordapp.com/attachments/803658122299572255/803708174293008474/tenor.gif", + "https://community.gamepress.gg/uploads/default/original/3X/0/a/0a762099c5ad6de9ca5f13dd22a7e45884a99eb3.gif", + "https://media1.giphy.com/media/ARSp9T7wwxNcs/giphy.gif" + + + ]; + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2); + var gif = (gifchoices[index]); + // --------------------------------------- + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 9442302, + "footer": { + "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + + const embed = { + "title": "<:pats:801238281286713355> Pat", + "description": "<@" + taggedUser + "> You have been patted by <@" + messageAuthor + ">!", + "color": 8311585, + "footer": { + "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + }, + "image": { + "url": gif + } + } + + + message.channel.send({ embed: embed }); + } + } diff --git a/poke.js b/poke.js new file mode 100644 index 0000000..eb04bfb --- /dev/null +++ b/poke.js @@ -0,0 +1,56 @@ +module.exports = { + + name: "poke", + description: "Pokes an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + + // -------------------------------------- + const gifchoices = [ + "https://i.pinimg.com/originals/b4/95/fb/b495fb19f4b9a1b04f48297b676c497b.gif", + "https://i.imgur.com/H7Ok5tn.gif", + "https://media1.tenor.com/images/8fe23ec8e2c5e44964e5c11983ff6f41/tenor.gif?itemid=5600215" + + + ]; + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2); + var gif = (gifchoices[index]); + // --------------------------------------- + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 9442302, + "footer": { + "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + + const embed = { + "title": "👉 Poke!", + "description": "<@" + taggedUser + "> You have been poked by <@" + messageAuthor + ">!", + "color": 8311585, + "footer": { + "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + }, + "image": { + "url": gif + } + } + + + message.channel.send({ embed: embed }); + } + } diff --git a/slap.js b/slap.js new file mode 100644 index 0000000..0582203 --- /dev/null +++ b/slap.js @@ -0,0 +1,47 @@ +module.exports = { + + name: "slap", + description: "Slaps an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); +//--------------------------------------------------- + +//--------------------------------------------------- +const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "footer": { + "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] +}; + +if(!taggedUser) { + return message.channel.send({ embed: errorembed}); +// Checks if a user was mentioned. If not, returns error message. +} + + const embed = { + "title": ":anger: Slap", + "description": "<@" + taggedUser + "> You have been slapped by <@" + messageAuthor + ">!", + "color": 9442302, + "footer": { + "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + }, + "image": { + "url": "https://media1.tenor.com/images/b6d8a83eb652a30b95e87cf96a21e007/tenor.gif?itemid=10426943" + } + } + + + message.channel.send({ embed: embed }); + } + } diff --git a/snuggle.js b/snuggle.js new file mode 100644 index 0000000..4a5f982 --- /dev/null +++ b/snuggle.js @@ -0,0 +1,36 @@ +module.exports = { + + name: "snuggle", + description: "Snuggle an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + + // -------------------------------------- + const gifchoices = [ + "https://media.discordapp.net/attachments/803658122299572255/806775382995894282/anime-couple-snuggle-gif-5.gif?width=450&height=238", + "https://media.discordapp.net/attachments/803658122299572255/806775411928989726/snuggl1.gif", + "https://cdn.discordapp.com/attachments/803658122299572255/806775422833786911/ImpureDeepAmbushbug-small.gif" + + ]; + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1); + var gif = (gifchoices[index]); + // --------------------------------------- + + const embed = { + "title": "<:BlobSnuggleCat:806759753450782731> Snuggle", + "description": "<@" + taggedUser + ">" + " You have been snuggled by " + "<@" + messageAuthor + ">!", + "color": 9442302, + "footer": { + "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + }, + "image": { + "url": gif + } + } + + + message.channel.send({ embed: embed }); + } + } \ No newline at end of file