2022-03-26 03:33:18 -05:00
|
|
|
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
|
|
|
module.exports = {
|
|
|
|
|
2021-02-06 12:15:55 -06:00
|
|
|
name: "snuggle",
|
|
|
|
description: "Snuggle an user!",
|
2022-03-29 13:51:43 -05:00
|
|
|
async execute(client, message, _, config) {
|
2021-02-06 12:15:55 -06:00
|
|
|
const taggedUser = message.mentions.users.first();
|
|
|
|
|
2022-03-26 03:33:18 -05:00
|
|
|
if(!taggedUser) {
|
2022-03-26 12:31:03 -05:00
|
|
|
await message.channel.send(client.generateErrorMessage("You need to @mention a user!", message.author.displayAvatarURL()));
|
2022-03-26 03:33:18 -05:00
|
|
|
} else {
|
2022-03-26 12:31:03 -05:00
|
|
|
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
|
2022-03-26 11:02:17 -05:00
|
|
|
await message.channel.send({embed: {
|
2022-03-26 03:33:18 -05:00
|
|
|
"title": "<:BlobSnuggleCat:806759753450782731> Snuggle",
|
2022-03-26 13:20:32 -05:00
|
|
|
"description": `${taggedUser} You have been snuggled by ${message.author}!`,
|
2022-03-26 03:33:18 -05:00
|
|
|
"color": 9442302,
|
2022-03-26 12:31:03 -05:00
|
|
|
"footer": {
|
|
|
|
"icon_url": message.author.displayAvatarURL(),
|
2022-03-29 13:51:43 -05:00
|
|
|
"text": config.footerTxt
|
2022-03-26 12:31:03 -05:00
|
|
|
},
|
2022-03-26 03:33:18 -05:00
|
|
|
"image": {
|
|
|
|
"url": gif
|
2021-02-06 12:15:55 -06:00
|
|
|
}
|
2022-03-26 11:02:17 -05:00
|
|
|
}});
|
2022-03-26 03:33:18 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|