aboutsummaryrefslogtreecommitdiff
path: root/commands/ping.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-03-26 13:43:03 -0400
committerAndrew Lee <alee14498@protonmail.com>2022-03-26 13:43:03 -0400
commitd55e74693da3c7b2705d67aa1880baaa0dcd1790 (patch)
tree2588b36a5510adf40295ad1389964e194cb9a742 /commands/ping.js
parent9e2ba5ceb9e7d1e8a4305be36205dde3cfb5b0b9 (diff)
downloadDLAP-d55e74693da3c7b2705d67aa1880baaa0dcd1790.tar.gz
DLAP-d55e74693da3c7b2705d67aa1880baaa0dcd1790.tar.bz2
DLAP-d55e74693da3c7b2705d67aa1880baaa0dcd1790.zip
New interaction handler; Merged git and about
Diffstat (limited to 'commands/ping.js')
-rw-r--r--commands/ping.js10
1 files changed, 10 insertions, 0 deletions
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