From 9ac1c7f866e813a83261d77eca05e630cbe2ff32 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 19 Jan 2021 17:29:39 -0600 Subject: [PATCH] Add first couple of reaction/emotion commands --- commands/bonk.js | 22 +++++++++++++++++++++- commands/poke.js | 24 ++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 commands/poke.js diff --git a/commands/bonk.js b/commands/bonk.js index 70d96c8..955263f 100644 --- a/commands/bonk.js +++ b/commands/bonk.js @@ -3,4 +3,24 @@ module.exports = { name: "bonk", description: "Bonks an user!", execute(client, message, args) { - + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + + const embed = { + "title": " Bonk", + "description": taggedUser + " You have been bonked by " + messageAuthor + "!", + "color": 3272562, + "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://cdn.discordapp.com/attachments/793537380330111028/801194481549312060/HappyBONK.gif" + } + } + + + message.channel.send({ embed: embed }); + } + } + diff --git a/commands/poke.js b/commands/poke.js new file mode 100644 index 0000000..cf457c7 --- /dev/null +++ b/commands/poke.js @@ -0,0 +1,24 @@ +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!", + "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" + } + } + + + message.channel.send({ embed: embed }); + } + }