mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
docs: document constructors of extendible structures (#3160)
* docs: document constructors of extendible structures * docs(ClientPresence): document default value for data parameter Co-Authored-By: SpaceEEC <spaceeec@yahoo.com> * docs(Presence): document default value for data parameter Co-Authored-By: SpaceEEC <spaceeec@yahoo.com> * docs(DMChannel): capitalize DM in the constructor doc
This commit is contained in:
@@ -13,6 +13,10 @@ const MessageStore = require('../stores/MessageStore');
|
||||
* @implements {TextBasedChannel}
|
||||
*/
|
||||
class TextChannel extends GuildChannel {
|
||||
/**
|
||||
* @param {Guild} guild The guild the text channel is part of
|
||||
* @param {Object} data The data for the text channel
|
||||
*/
|
||||
constructor(guild, data) {
|
||||
super(guild, data);
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user