From d55e74693da3c7b2705d67aa1880baaa0dcd1790 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sat, 26 Mar 2022 13:43:03 -0400 Subject: New interaction handler; Merged git and about --- commands/ping.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 commands/ping.js (limited to 'commands/ping.js') diff --git a/commands/ping.js b/commands/ping.js new file mode 100644 index 0000000..c5b4885 --- /dev/null +++ b/commands/ping.js @@ -0,0 +1,10 @@ +const { SlashCommandBuilder } = require('@discordjs/builders'); + +module.exports = { + data: new SlashCommandBuilder() + .setName('ping') + .setDescription('Replies with Pong!'), + async execute(interaction) { + return interaction.reply('Pong!'); + }, +}; \ No newline at end of file -- cgit v1.2.3