This repository has been archived on 2024-01-30. You can view files and clone it, but cannot push or open issues or pull requests.
anitrox/commands/cheese.js

27 lines
934 B
JavaScript
Raw Normal View History

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