Make JSDocs follow general conventions (#582)

* Make JSDocs follow usual conventions

* Fix StringResolvable name

* Make function lowercase
This commit is contained in:
Schuyler Cebulskie
2016-09-03 04:57:25 -04:00
committed by Amish Shah
parent 44efcf3f52
commit 27652b94af
33 changed files with 262 additions and 262 deletions

View File

@@ -24,7 +24,7 @@ class DMChannel extends Channel {
this.recipient = recipient;
/**
* The ID of the last sent message, if available
* @type {?String}
* @type {?string}
*/
this.lastMessageID = data.last_message_id;
this.type = 'dm';
@@ -33,7 +33,7 @@ class DMChannel extends Channel {
/**
* When concatenated with a String, this automatically concatenates the recipient's mention instead of the
* DM channel object.
* @returns {String}
* @returns {string}
*/
toString() {
return this.recipient.toString();