📜  discord.js 斜线命令 - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:02:12.460000             🧑  作者: Mango
代码示例2
client.on('interactionCreate', (interaction) => {
if(!interaction.isCommand()) return;
interaction.reply('Pong!')
})