docs(Messages): fix examples in messages after changes in #5758 (#5791)

This commit is contained in:
Austrian
2021-06-09 20:33:07 +02:00
committed by GitHub
parent 4511624e79
commit 35c2225f50
2 changed files with 13 additions and 9 deletions

View File

@@ -164,7 +164,10 @@ class InteractionResponses {
* @returns {Promise<void>}
* @example
* // Remove the components from the message
* interaction.update("A button was clicked", { components: [] })
* interaction.update({
* content: "A button was clicked",
* components: []
* })
* .then(console.log)
* .catch(console.error);
*/