Initial work is done
This commit is contained in:
11
commands/ping.ts
Normal file
11
commands/ping.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
const { SlashCommandBuilder, Discord } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('ping')
|
||||
.setDescription('Replies with Pong!'),
|
||||
async execute(interaction) {
|
||||
await interaction.reply('Pong!');
|
||||
console.log("User " + interaction.user.tag + " ran /ping");
|
||||
},
|
||||
};
|
Reference in New Issue
Block a user