Fixed typos from commit #5570 (#5917)

This commit is contained in:
BannerBomb
2021-06-24 17:20:57 -04:00
committed by GitHub
parent ca2a36b1d7
commit d984ac9d09
2 changed files with 2 additions and 2 deletions

View File

@@ -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
View File

@@ -4147,7 +4147,7 @@ declare module 'discord.js' {
name?: string;
archived?: boolean;
autoArchiveDuration?: ThreadAutoArchiveDuration;
rateLimitPeruser?: number;
rateLimitPerUser?: number;
locked?: boolean;
}