mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
fix(ThreadChannel): better property handling (#6172)
This commit is contained in:
@@ -109,7 +109,7 @@ class Invite extends Base {
|
||||
* The channel the invite is for
|
||||
* @type {Channel}
|
||||
*/
|
||||
this.channel = this.client.channels._add(data.channel, this.guild, false);
|
||||
this.channel = this.client.channels._add(data.channel, this.guild, { cache: false });
|
||||
|
||||
/**
|
||||
* The timestamp the invite was created at
|
||||
|
||||
Reference in New Issue
Block a user