docs: undocument private constructors (#6732)

This commit is contained in:
SpaceEEC
2021-10-03 15:02:11 +02:00
committed by GitHub
parent a8e60105fb
commit 34b2ad0d8e
27 changed files with 105 additions and 275 deletions

View File

@@ -13,12 +13,6 @@ const Permissions = require('../util/Permissions');
* @implements {TextBasedChannel}
*/
class ThreadChannel extends Channel {
/**
* @param {Guild} guild The guild the thread channel is part of
* @param {APIChannel} data The data for the thread channel
* @param {Client} [client] A safety parameter for the client that instantiated this
* @param {boolean} [fromInteraction=false] Whether the data was from an interaction (partial)
*/
constructor(guild, data, client, fromInteraction = false) {
super(guild?.client ?? client, data, false);