diff --git a/src/client/actions/ThreadListSync.js b/src/client/actions/ThreadListSync.js index cc5c92ac6..444e42bf4 100644 --- a/src/client/actions/ThreadListSync.js +++ b/src/client/actions/ThreadListSync.js @@ -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); diff --git a/typings/index.d.ts b/typings/index.d.ts index e9665f50d..10e20f682 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -4147,7 +4147,7 @@ declare module 'discord.js' { name?: string; archived?: boolean; autoArchiveDuration?: ThreadAutoArchiveDuration; - rateLimitPeruser?: number; + rateLimitPerUser?: number; locked?: boolean; }