2021-02-02 23:56:33 -06:00
|
|
|
module.exports = {
|
|
|
|
|
2021-02-06 12:15:55 -06:00
|
|
|
name: "snuggle",
|
|
|
|
description: "Snuggle an user!",
|
|
|
|
execute(client, message, args) {
|
2022-03-21 12:55:29 -05:00
|
|
|
const {footerTxt} = require('../config.json');
|
2021-02-06 12:15:55 -06:00
|
|
|
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"
|
2021-02-02 23:56:33 -06:00
|
|
|
|
2021-02-06 12:15:55 -06:00
|
|
|
];
|
|
|
|
const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1);
|
|
|
|
var gif = (gifchoices[index]);
|
|
|
|
// ---------------------------------------
|
2021-02-02 23:56:33 -06:00
|
|
|
|
2021-02-06 12:15:55 -06:00
|
|
|
const embed = {
|
|
|
|
"title": "<:BlobSnuggleCat:806759753450782731> Snuggle",
|
|
|
|
"description": "<@" + taggedUser + ">" + " You have been snuggled by " + "<@" + messageAuthor + ">!",
|
|
|
|
"color": 9442302,
|
|
|
|
"footer": {
|
2022-03-21 12:55:29 -05:00
|
|
|
"icon_url": message.author.displayAvatarURL(),
|
|
|
|
"text": footerTxt
|
2021-02-06 12:15:55 -06:00
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"url": gif
|
2021-02-02 23:56:33 -06:00
|
|
|
}
|
2021-02-06 12:15:55 -06:00
|
|
|
}
|
2021-02-02 23:56:33 -06:00
|
|
|
|
|
|
|
|
2021-02-06 12:15:55 -06:00
|
|
|
message.channel.send({ embed: embed });
|
|
|
|
}
|
|
|
|
}
|