Ping Pong
Slash Command
export default (Quack) => {
Quack.CreateCommand({
name: 'ping', // the name of the slash command
description: 'Ping', // the description of the slash command
permission: 'everyone', // the permission of the slash command,
// if set to everyone then anyone can run it.
// It can be set to a role id for specific role
// use (make sure to set the defaultPermissions
// as well).
guilds: ['728269506710995034'], // the guilds which the slash command
// will be added to. If none are added,
// then it's a global command.
execute(interaction) {
interaction.reply('pong!')
}
})
}Events
Triggers
Last updated