node-event-bot/server/commands/pong.ts
mightypanders 10bc4ae5df
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
update interfaces
2022-04-09 23:02:08 +02:00

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')
}
})