Add boilerplate
This commit is contained in:
16
commands/ping.js
Normal file
16
commands/ping.js
Normal file
@@ -0,0 +1,16 @@
|
||||
'use strict';
|
||||
|
||||
const { SlashCommandBuilder } = require('discord.js');
|
||||
|
||||
const data = new SlashCommandBuilder()
|
||||
.setName('ping')
|
||||
.setDescription('Replies with pong!');
|
||||
|
||||
const execute = async (interaction) => {
|
||||
await interaction.reply('Pong!');
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
data,
|
||||
execute
|
||||
};
|
||||
Reference in New Issue
Block a user