📜  更新按钮响应 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:57.438000             🧑  作者: Mango

代码示例1
// Remove the components from the message
interaction.update({
  content: "A component interaction was received",
  components: []
})
  .then(console.log)
  .catch(console.error);