initial upload
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
const { SlashCommandBuilder, MessageFlags, PermissionFlagsBits } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
cooldown: 30,
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('ping')
|
||||
.setDescription('Replies with Pong!')
|
||||
.setDefaultMemberPermissions(0),
|
||||
async execute(interaction) {
|
||||
await interaction.reply({ content: 'Pong!', flags: MessageFlags.Ephemeral });
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user