2021-02-23 00:18:07 -06:00
|
|
|
module.exports = {
|
2022-04-18 11:25:40 -05:00
|
|
|
|
|
|
|
name: require('path').parse(__filename).name,
|
2022-03-26 03:33:18 -05:00
|
|
|
description: "Cheese an user, or run just ``n!cheese`` for a surprise :eyes:",
|
2022-04-18 11:25:40 -05:00
|
|
|
|
2022-03-29 13:51:43 -05:00
|
|
|
async execute(_0, message, _1, config) {
|
2022-03-26 03:33:18 -05:00
|
|
|
const taggedUser = message.mentions.users.first();
|
2022-04-18 11:25:40 -05:00
|
|
|
|
2021-02-23 00:18:07 -06:00
|
|
|
if(!taggedUser) {
|
2022-03-26 12:31:03 -05:00
|
|
|
await message.channel.send("*slams cheese on desk*\n**Cheese.** https://www.youtube.com/watch?v=Or4IE8fkpn4");
|
2022-03-26 03:33:18 -05:00
|
|
|
} else {
|
2022-04-21 11:29:04 -05:00
|
|
|
await message.channel.send({embeds: [{
|
2022-03-26 03:33:18 -05:00
|
|
|
"title": ":cheese: Cheesed",
|
2022-03-26 13:20:32 -05:00
|
|
|
"description": `${taggedUser} You have been cheesed by ${message.author}!`,
|
2022-03-26 03:33:18 -05:00
|
|
|
"color": 16312092,
|
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": "https://cdn.discordapp.com/attachments/803658122299572255/812867714368536636/R06325af354168febcafd96b8328b7590.png"
|
|
|
|
}
|
2022-04-21 11:29:04 -05:00
|
|
|
}]});
|
2021-02-23 00:18:07 -06:00
|
|
|
}
|
2022-03-26 03:33:18 -05:00
|
|
|
}
|
|
|
|
}
|