mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
Make JSDocs follow general conventions (#582)
* Make JSDocs follow usual conventions * Fix StringResolvable name * Make function lowercase
This commit is contained in:
committed by
Amish Shah
parent
44efcf3f52
commit
27652b94af
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user