2021-01-19 14:02:09 -06:00
|
|
|
module.exports = {
|
|
|
|
|
2022-03-26 03:33:18 -05:00
|
|
|
name: "bonk",
|
|
|
|
description: "Bonks a user!",
|
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();
|
|
|
|
|
|
|
|
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 11:02:17 -05:00
|
|
|
await message.channel.send({embed: {
|
2022-03-26 03:33:18 -05:00
|
|
|
"title": "<a:SylvBonk:801185845847130113> Bonk",
|
2022-03-26 13:20:32 -05:00
|
|
|
"description": `${taggedUser} You have been bonked 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": "https://cdn.discordapp.com/attachments/793537380330111028/801194481549312060/HappyBONK.gif"
|
|
|
|
}
|
2022-03-26 11:02:17 -05:00
|
|
|
}});
|
2021-01-19 17:29:39 -06:00
|
|
|
}
|
2022-03-26 03:33:18 -05:00
|
|
|
}
|
|
|
|
}
|