refactor(MessagePayload): rename APIMessage (#5921)

This commit is contained in:
monbrey
2021-06-27 21:47:15 +10:00
committed by GitHub
parent 630432b4e2
commit b15d825bb3
10 changed files with 101 additions and 101 deletions

View File

@@ -16,7 +16,7 @@ class MessageComponentInteraction extends Interaction {
/**
* The message to which the component was attached
* @type {?(Message|APIMessageRaw)}
* @type {?(Message|APIMessage)}
*/
this.message = data.message ? this.channel?.messages.add(data.message) ?? data.message : null;