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/poke.js

25 lines
854 B
JavaScript
Raw Normal View History

module.exports = {
name: "poke",
description: "Pokes an user!",
execute(client, message, args) {
const messageAuthor = message.author
const taggedUser = message.mentions.users.first();
const embed = {
"title": "👉 Poke!",
2021-01-23 01:08:05 -06:00
"description": "<@" + taggedUser + "> You have been poked by <@" + messageAuthor + ">!",
"color": 8311585,
"footer": {
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"
},
"image": {
"url": "https://i.gifer.com/4IdP.gif"
}
}
2021-01-23 01:08:05 -06:00
message.channel.send({ embed: embed });
}
}