From d252ddf9daa57311b8bc6435a959f2c49f901e3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Rom=C3=A1n?= Date: Sun, 8 Sep 2019 09:49:10 +0200 Subject: [PATCH] docs: Document Message#author as nullable (#3464) Fixes #3463 --- src/structures/Message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Message.js b/src/structures/Message.js index 99c006b7f..5b6cc4754 100644 --- a/src/structures/Message.js +++ b/src/structures/Message.js @@ -63,7 +63,7 @@ class Message extends Base { /** * The author of the message - * @type {User} + * @type {?User} */ this.author = data.author ? this.client.users.add(data.author, !data.webhook_id) : null;