Creates a new message command
The options for the command
The callback for the command
module.exports.default = new MessageCommand({
name: 'ping',
aliases: ['latency', 'p'],
cooldownSeconds: 2
}, async (client, message, args) => {
await message.reply(`🏓 Pong! ${client.ws.ping}ms`);
});
The callback for the command
The cooldowns of the command
The options for the command
Generated using TypeDoc
Represents a message command