aboutsummaryrefslogtreecommitdiff
path: root/commands/ping.js
diff options
context:
space:
mode:
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