From 7ff59750c956f73e9fee306ef9fda461fa326496 Mon Sep 17 00:00:00 2001 From: kieranrobson Date: Fri, 13 May 2022 10:47:40 +0100 Subject: [PATCH] Added gorb slash command --- SlashCommands/fun/gorb.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 SlashCommands/fun/gorb.js diff --git a/SlashCommands/fun/gorb.js b/SlashCommands/fun/gorb.js new file mode 100644 index 0000000..42a5f55 --- /dev/null +++ b/SlashCommands/fun/gorb.js @@ -0,0 +1,16 @@ +const { Client, CommandInteraction } = require("discord.js"); + +module.exports = { + name: "gorb", + description: "returns gorb", + type: 'CHAT_INPUT', + /** + * + * @param {Client} client + * @param {CommandInteraction} interaction + * @param {String[]} args + */ + run: async (client, interaction, args) => { + interaction.followUp({ files: ['./images/gorb.jpg'] }); + }, +}; \ No newline at end of file