2022-03-26 03:33:18 -05:00
|
|
|
const gifchoices = [
|
2021-02-06 12:15:55 -06:00
|
|
|
"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
|
|
|
|
2022-03-26 03:33:18 -05:00
|
|
|
module.exports = {
|
2021-01-30 23:54:56 -06:00
|
|
|
|
2022-04-18 11:25:40 -05:00
|
|
|
name: require('path').parse(__filename).name,
|
2022-03-26 12:31:03 -05:00
|
|
|
description: "Licks a user!",
|
2022-04-18 11:30:12 -05:00
|
|
|
|
2022-03-29 13:51:43 -05:00
|
|
|
async execute(client, message, _, config) {
|
2022-03-26 03:33:18 -05:00
|
|
|
const taggedUser = message.mentions.users.first();
|
2022-04-21 12:24:12 -05:00
|
|
|
const avatarURL = message.author.displayAvatarURL();
|
2021-01-30 23:54:56 -06:00
|
|
|
|
2022-03-26 03:33:18 -05:00
|
|
|
if(!taggedUser) {
|
2022-04-21 12:24:12 -05:00
|
|
|
await message.channel.send(client.generateErrorMessage("You need to @mention a user!", avatarURL));
|
2022-03-26 03:33:18 -05:00
|
|
|
} else {
|
|
|
|
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
|
2022-04-21 11:29:04 -05:00
|
|
|
await message.channel.send({embeds: [{
|
2022-03-26 03:33:18 -05:00
|
|
|
"title": "<a:LeafeonLick:806396195089154058> Lick",
|
2022-03-26 13:20:32 -05:00
|
|
|
"description": `${taggedUser} You have been licked by ${message.author}!`,
|
2022-03-26 03:33:18 -05:00
|
|
|
"color": 8311585,
|
2022-03-26 12:31:03 -05:00
|
|
|
"footer": {
|
2022-04-21 12:24:12 -05:00
|
|
|
"icon_url": avatarURL,
|
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": "https://cdn.discordapp.com/attachments/803658122299572255/805314244123951114/cef569820773b0f5d54ee34cfa18e1f8.gif"
|
|
|
|
}
|
2022-04-21 11:29:04 -05:00
|
|
|
}]});
|
2021-01-30 23:54:56 -06:00
|
|
|
}
|
2022-03-26 03:33:18 -05:00
|
|
|
}
|
|
|
|
}
|