From d984ac9d09aebf206ab699ecb7b95ae4bdfbc5e9 Mon Sep 17 00:00:00 2001 From: BannerBomb Date: Thu, 24 Jun 2021 17:20:57 -0400 Subject: [PATCH] Fixed typos from commit #5570 (#5917) --- src/client/actions/ThreadListSync.js | 2 +- typings/index.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }