Rename createdAt -> creationDate (#628)

* Rename createdAt -> creationDate

Also make it return a Date like it says, and small cleanup

* Build docs
This commit is contained in:
Schuyler Cebulskie
2016-09-06 16:52:10 -04:00
committed by GitHub
parent 6bfad00229
commit 7fea0a3937
7 changed files with 21 additions and 28 deletions

View File

@@ -130,6 +130,7 @@ class Message {
this.system = false;
if (data.type === 6) this.system = true;
}
/**
* When the message was sent
* @type {Date}