node-event-bot/server/commands/pong.ts

10 lines
242 B
TypeScript

import { Command } from '../structures/command'
export default new Command({
name: 'ping',
description: 'Does a pong, duh',
run: async ({ interaction }) => {
console.log(`Ping interaction received.`)
interaction.followUp('pong')
}
})