mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
@@ -11,7 +11,7 @@ class ThreadListSyncAction extends Action {
|
||||
const guild = client.guilds.cache.get(data.guild_id);
|
||||
if (!guild) return {};
|
||||
|
||||
if (data.channels_ids) {
|
||||
if (data.channel_ids) {
|
||||
for (const id of data.channel_ids) {
|
||||
const channel = client.channels.resolve(id);
|
||||
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;
|
||||
archived?: boolean;
|
||||
autoArchiveDuration?: ThreadAutoArchiveDuration;
|
||||
rateLimitPeruser?: number;
|
||||
rateLimitPerUser?: number;
|
||||
locked?: boolean;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user