2022-03-26 03:33:18 -05:00
|
|
|
const { MessageEmbed } = require("discord.js");
|
|
|
|
|
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-26 03:58:15 -05:00
|
|
|
async execute(_0, message, _1, footer) {
|
2022-03-26 03:33:18 -05:00
|
|
|
const taggedUser = message.mentions.users.first();
|
|
|
|
|
|
|
|
if(!taggedUser) {
|
|
|
|
await message.channel.send(new MessageEmbed({
|
2021-02-25 01:03:33 -06:00
|
|
|
"title": "<:AnitroxError:809651936563429416> Error",
|
2021-01-30 23:48:07 -06:00
|
|
|
"color": 13632027,
|
|
|
|
"footer": {
|
|
|
|
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
2021-07-21 16:03:29 -05:00
|
|
|
"text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64"
|
2021-01-30 23:48:07 -06:00
|
|
|
},
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "Well that happened...",
|
|
|
|
"value": "You need to @mention an user!"
|
|
|
|
}
|
|
|
|
]
|
2022-03-26 03:33:18 -05:00
|
|
|
}));
|
|
|
|
} else {
|
|
|
|
await message.channel.send(new MessageEmbed({
|
|
|
|
"title": "<a:SylvBonk:801185845847130113> Bonk",
|
|
|
|
"description": "<@" + taggedUser + ">" + " You have been bonked by <@" + message.author + ">!",
|
|
|
|
"color": 9442302,
|
2022-03-26 03:58:15 -05:00
|
|
|
"footer": footer,
|
2022-03-26 03:33:18 -05:00
|
|
|
"image": {
|
|
|
|
"url": "https://cdn.discordapp.com/attachments/793537380330111028/801194481549312060/HappyBONK.gif"
|
|
|
|
}
|
|
|
|
}));
|
2021-01-19 17:29:39 -06:00
|
|
|
}
|
2022-03-26 03:33:18 -05:00
|
|
|
}
|
|
|
|
}
|