mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
feat: allow channels from uncached guilds to be returned from fetch (#6034)
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
This commit is contained in:
@@ -8,11 +8,12 @@ const GuildChannel = require('./GuildChannel');
|
||||
*/
|
||||
class StoreChannel extends GuildChannel {
|
||||
/**
|
||||
* @param {*} guild The guild the store channel is part of
|
||||
* @param {*} data The data for the store channel
|
||||
* @param {Guild} guild The guild the store channel is part of
|
||||
* @param {APIChannel} data The data for the store channel
|
||||
* @param {Client} [client] A safety parameter for the client that instantiated this
|
||||
*/
|
||||
constructor(guild, data) {
|
||||
super(guild, data);
|
||||
constructor(guild, data, client) {
|
||||
super(guild, data, client);
|
||||
|
||||
/**
|
||||
* If the guild considers this channel NSFW
|
||||
|
||||
Reference in New Issue
Block a user