Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

update button response

// Remove the components from the message
interaction.update({
  content: "A component interaction was received",
  components: []
})
  .then(console.log)
  .catch(console.error);
Source by discord.js.org #
 
PREVIOUS NEXT
Tagged: #update #button #response
ADD COMMENT
Topic
Name
8+1 =