Add boilerplate

This commit is contained in:
2022-08-26 03:07:35 +00:00
parent 82f724e6ad
commit 5d5c3bfa94
9 changed files with 149 additions and 2 deletions

16
commands/ping.js Normal file
View 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
};