2021-01-30 23:26:04 -06:00
|
|
|
module.exports = {
|
2021-01-30 23:54:56 -06:00
|
|
|
|
2021-01-30 23:26:04 -06:00
|
|
|
name: "lick",
|
|
|
|
description: "Licks an user!",
|
|
|
|
execute(client, message, args) {
|
2022-03-21 12:55:29 -05:00
|
|
|
const {footerTxt} = require('../config.json');
|
2021-01-30 23:54:56 -06:00
|
|
|
const taggedUser = message.mentions.users.first();
|
|
|
|
//---------------------------------------------------
|
2021-02-06 12:15:55 -06:00
|
|
|
// --------------------------------------
|
|
|
|
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"
|
|
|
|
|
2021-01-30 23:54:56 -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-01-30 23:54:56 -06:00
|
|
|
//---------------------------------------------------
|
|
|
|
const errorembed = {
|
2021-02-25 01:03:33 -06:00
|
|
|
"title": "<:AnitroxError:809651936563429416> Error",
|
2021-02-06 12:15:55 -06:00
|
|
|
"color": 9442302,
|
2021-01-30 23:54:56 -06:00
|
|
|
"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 = {
|
2021-02-06 12:15:55 -06:00
|
|
|
"title": "<a:LeafeonLick:806396195089154058> Lick",
|
2022-03-21 12:55:29 -05:00
|
|
|
"description": "<@" + taggedUser + "> You have been licked by <@" + message.author + ">!",
|
2021-01-30 23:54:56 -06:00
|
|
|
"color": 8311585,
|
|
|
|
"footer": {
|
2022-03-21 12:55:29 -05:00
|
|
|
"icon_url": message.author.displayAvatarURL(),
|
|
|
|
"text": footerTxt
|
2021-01-30 23:54:56 -06:00
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"url": "https://cdn.discordapp.com/attachments/803658122299572255/805314244123951114/cef569820773b0f5d54ee34cfa18e1f8.gif"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
message.channel.send({ embed: embed });
|
|
|
|
}
|
|
|
|
}
|