Update all packages to latest
This commit is contained in:
@@ -1,7 +1,18 @@
|
||||
const { SlashCommandBuilder } = require('discord.js');
|
||||
|
||||
// TODO - Add insults as the response to this command
|
||||
module.exports = {
|
||||
name: 'ping',
|
||||
description: 'Ping!',
|
||||
execute(message) {
|
||||
message.channel.send('**Pong.**');
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('ping')
|
||||
.setDescription('Replies with your input!'),
|
||||
/*
|
||||
.addStringOption(option =>
|
||||
option.setName('input')
|
||||
.setDescription('The input to echo back')),
|
||||
*/
|
||||
example: "ping",
|
||||
isPrivileged: false,
|
||||
async execute(message) {
|
||||
await message.channel.send('**Pong.**');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user