From 3cb3d4d97f2951f7c757a7ba1d08b2bc6a0f17d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ma=C5=84czak?= <56172798+jakubmanczak@users.noreply.github.com> Date: Sun, 11 Apr 2021 12:17:07 +0200 Subject: [PATCH] +jmd.js --- commands/jmd.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 commands/jmd.js diff --git a/commands/jmd.js b/commands/jmd.js new file mode 100644 index 0000000..056260b --- /dev/null +++ b/commands/jmd.js @@ -0,0 +1,19 @@ +module.exports = { + name: 'jmd', + description: 'Mówi jemenikowi żeby zamknął dupę (na vc).', + args: false, + guildOnly: true, + execute(msg, args, Discord, config, client) { + msg.delete() + .catch(console.error); + const jmdEmbed = new Discord.MessageEmbed() + .setTitle('chotto matte') + .setColor(config.embedColor) + .setDescription(`Mówienie jemenikowi żeby zamknął dupę...`) + .attachFiles('./gractwo.png') + .setFooter(`Komenda wywołana przez ${msg.author.username}`, 'attachment://gractwo.png') + .setTimestamp(); + msg.channel.send(jmdEmbed); + console.log(`Responded to jmd request by ${msg.author.username}`); + }, +}; \ No newline at end of file