mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
@@ -11,7 +11,7 @@ class ThreadListSyncAction extends Action {
|
|||||||
const guild = client.guilds.cache.get(data.guild_id);
|
const guild = client.guilds.cache.get(data.guild_id);
|
||||||
if (!guild) return {};
|
if (!guild) return {};
|
||||||
|
|
||||||
if (data.channels_ids) {
|
if (data.channel_ids) {
|
||||||
for (const id of data.channel_ids) {
|
for (const id of data.channel_ids) {
|
||||||
const channel = client.channels.resolve(id);
|
const channel = client.channels.resolve(id);
|
||||||
if (channel) this.removeStale(channel);
|
if (channel) this.removeStale(channel);
|
||||||
|
|||||||
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -4147,7 +4147,7 @@ declare module 'discord.js' {
|
|||||||
name?: string;
|
name?: string;
|
||||||
archived?: boolean;
|
archived?: boolean;
|
||||||
autoArchiveDuration?: ThreadAutoArchiveDuration;
|
autoArchiveDuration?: ThreadAutoArchiveDuration;
|
||||||
rateLimitPeruser?: number;
|
rateLimitPerUser?: number;
|
||||||
locked?: boolean;
|
locked?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user