import { CacheType, ChatInputCommandInteraction, SlashCommandBuilder } from 'discord.js'; const name = "ping" function register() { return new SlashCommandBuilder() .setName(name) .setDescription('Replies with Pong!') } async function execute(interaction: ChatInputCommandInteraction) { console.log(interaction.member) await interaction.reply('Pong!'); } export default { name, register, execute }