Fix action command GIF issue (I hope)
This commit is contained in:
parent
7ed0ea9719
commit
1a8badd5f4
|
@ -28,7 +28,7 @@ module.exports = {
|
||||||
const embed = {
|
const embed = {
|
||||||
"title": "<a:SylvBonk:801185845847130113> Bonk",
|
"title": "<a:SylvBonk:801185845847130113> Bonk",
|
||||||
"description": "<@" + taggedUser + ">" + " You have been bonked by <@" + messageAuthor + ">!",
|
"description": "<@" + taggedUser + ">" + " You have been bonked by <@" + messageAuthor + ">!",
|
||||||
"color": 3272562,
|
"color": 9442302,
|
||||||
"footer": {
|
"footer": {
|
||||||
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
||||||
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"
|
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"
|
||||||
|
|
|
@ -20,7 +20,7 @@ module.exports = {
|
||||||
const embed = {
|
const embed = {
|
||||||
"title": ":heart: Cuddle",
|
"title": ":heart: Cuddle",
|
||||||
"description": "<@" + taggedUser + ">" + " You have been cuddled by " + "<@" + messageAuthor + ">!",
|
"description": "<@" + taggedUser + ">" + " You have been cuddled by " + "<@" + messageAuthor + ">!",
|
||||||
"color": 8311585,
|
"color": 9442302,
|
||||||
"footer": {
|
"footer": {
|
||||||
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
||||||
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"
|
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"
|
||||||
|
|
|
@ -9,12 +9,11 @@ module.exports = {
|
||||||
|
|
||||||
// --------------------------------------
|
// --------------------------------------
|
||||||
const gifchoices = [
|
const gifchoices = [
|
||||||
"https://thumbs.gfycat.com/SlowGlossyBlackcrappie-small.gif",
|
"https://cdn.discordapp.com/attachments/803658122299572255/807671954055626812/kiss5.gif",
|
||||||
"https://media0.giphy.com/media/12VXIxKaIEarL2/giphy.gif",
|
"https://cdn.discordapp.com/attachments/803658122299572255/807671956236140554/kiss2.gif",
|
||||||
"https://cutewallpaper.org/21/anime-kiss-girl/Anime-Kissing-GIF-Anime-Kissing-Girl-Discover-Share-GIFs.gif",
|
"https://cdn.discordapp.com/attachments/803658122299572255/807671964599713862/kiss1.gif",
|
||||||
"https://i.makeagif.com/media/4-29-2017/orH05W.gif",
|
"https://cdn.discordapp.com/attachments/803658122299572255/807671971168387082/kiss4.gif",
|
||||||
"https://31.media.tumblr.com/ea7842aad07c00b098397bf4d00723c6/tumblr_n570yg0ZIv1rikkvpo1_500.gif"
|
"https://cdn.discordapp.com/attachments/803658122299572255/807672017217781840/kiss3.gif"
|
||||||
|
|
||||||
];
|
];
|
||||||
const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1);
|
const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1);
|
||||||
var gif = (gifchoices[index]);
|
var gif = (gifchoices[index]);
|
||||||
|
@ -37,10 +36,15 @@ module.exports = {
|
||||||
if(!taggedUser) {
|
if(!taggedUser) {
|
||||||
return message.channel.send({ embed: errorembed});
|
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 = {
|
const embed = {
|
||||||
"title": ":heart: Kiss",
|
"title": ":heart: Kiss",
|
||||||
"description": "<@" + taggedUser + ">" + ", You have been kissed by <@" + messageAuthor + ">!",
|
"description": "<@" + taggedUser + ">" + ", You have been kissed by <@" + messageAuthor + ">!",
|
||||||
"color": 8311585,
|
"color": 9442302,
|
||||||
"footer": {
|
"footer": {
|
||||||
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
||||||
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"
|
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"
|
||||||
|
|
|
@ -32,7 +32,7 @@ module.exports = {
|
||||||
// ---------------------------------------
|
// ---------------------------------------
|
||||||
const errorembed = {
|
const errorembed = {
|
||||||
"title": "<:NyabotError:697145462347661412> Error",
|
"title": "<:NyabotError:697145462347661412> Error",
|
||||||
"color": 13632027,
|
"color": 9442302,
|
||||||
"footer": {
|
"footer": {
|
||||||
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
"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"
|
"text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"
|
||||||
|
|
|
@ -6,11 +6,22 @@ module.exports = {
|
||||||
const messageAuthor = message.author
|
const messageAuthor = message.author
|
||||||
const taggedUser = message.mentions.users.first();
|
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 = {
|
const errorembed = {
|
||||||
"title": "<:NyabotError:697145462347661412> Error",
|
"title": "<:NyabotError:697145462347661412> Error",
|
||||||
"color": 13632027,
|
"color": 9442302,
|
||||||
"footer": {
|
"footer": {
|
||||||
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
"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"
|
"text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"
|
||||||
|
@ -29,7 +40,7 @@ if(!taggedUser) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const embed = {
|
const embed = {
|
||||||
"title": "Lick",
|
"title": "<a:LeafeonLick:806396195089154058> Lick",
|
||||||
"description": "<@" + taggedUser + "> You have been licked by <@" + messageAuthor + ">!",
|
"description": "<@" + taggedUser + "> You have been licked by <@" + messageAuthor + ">!",
|
||||||
"color": 8311585,
|
"color": 8311585,
|
||||||
"footer": {
|
"footer": {
|
||||||
|
|
|
@ -20,7 +20,7 @@ module.exports = {
|
||||||
// ---------------------------------------
|
// ---------------------------------------
|
||||||
const errorembed = {
|
const errorembed = {
|
||||||
"title": "<:NyabotError:697145462347661412> Error",
|
"title": "<:NyabotError:697145462347661412> Error",
|
||||||
"color": 13632027,
|
"color": 9442302,
|
||||||
"footer": {
|
"footer": {
|
||||||
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
"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"
|
"text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"
|
||||||
|
|
|
@ -19,7 +19,7 @@ module.exports = {
|
||||||
// ---------------------------------------
|
// ---------------------------------------
|
||||||
const errorembed = {
|
const errorembed = {
|
||||||
"title": "<:NyabotError:697145462347661412> Error",
|
"title": "<:NyabotError:697145462347661412> Error",
|
||||||
"color": 13632027,
|
"color": 9442302,
|
||||||
"footer": {
|
"footer": {
|
||||||
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
"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"
|
"text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"
|
||||||
|
|
|
@ -19,7 +19,7 @@ module.exports = {
|
||||||
// ---------------------------------------
|
// ---------------------------------------
|
||||||
const errorembed = {
|
const errorembed = {
|
||||||
"title": "<:NyabotError:697145462347661412> Error",
|
"title": "<:NyabotError:697145462347661412> Error",
|
||||||
"color": 13632027,
|
"color": 9442302,
|
||||||
"footer": {
|
"footer": {
|
||||||
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
"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"
|
"text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"
|
||||||
|
|
|
@ -31,7 +31,7 @@ if(!taggedUser) {
|
||||||
const embed = {
|
const embed = {
|
||||||
"title": ":anger: Slap",
|
"title": ":anger: Slap",
|
||||||
"description": "<@" + taggedUser + "> You have been slapped by <@" + messageAuthor + ">!",
|
"description": "<@" + taggedUser + "> You have been slapped by <@" + messageAuthor + ">!",
|
||||||
"color": 8311585,
|
"color": 9442302,
|
||||||
"footer": {
|
"footer": {
|
||||||
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
||||||
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"
|
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"
|
||||||
|
|
|
@ -1,36 +1,36 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
||||||
name: "snuggle",
|
name: "snuggle",
|
||||||
description: "Snuggle an user!",
|
description: "Snuggle an user!",
|
||||||
execute(client, message, args) {
|
execute(client, message, args) {
|
||||||
const messageAuthor = message.author
|
const messageAuthor = message.author
|
||||||
const taggedUser = message.mentions.users.first();
|
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 gifchoices = [
|
const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1);
|
||||||
"https://media.discordapp.net/attachments/803658122299572255/806775382995894282/anime-couple-snuggle-gif-5.gif?width=450&height=238",
|
var gif = (gifchoices[index]);
|
||||||
"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 = {
|
const embed = {
|
||||||
"title": "<:BlobSnuggleCat:806759753450782731> Snuggle",
|
"title": "<:BlobSnuggleCat:806759753450782731> Snuggle",
|
||||||
"description": "<@" + taggedUser + ">" + " You have been snuggled by " + "<@" + messageAuthor + ">!",
|
"description": "<@" + taggedUser + ">" + " You have been snuggled by " + "<@" + messageAuthor + ">!",
|
||||||
"color": 8311585,
|
"color": 9442302,
|
||||||
"footer": {
|
"footer": {
|
||||||
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
||||||
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"
|
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"
|
||||||
},
|
},
|
||||||
"image": {
|
"image": {
|
||||||
"url": gif
|
"url": gif
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
message.channel.send({ embed: embed });
|
message.channel.send({ embed: embed });
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue