10 lines
242 B
TypeScript
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')
|
||
|
}
|
||
|
})
|