From 01ae584ce0430ebbf632298a8050e904ec74c36e Mon Sep 17 00:00:00 2001 From: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com> Date: Wed, 1 Dec 2021 23:41:35 +0000 Subject: [PATCH] fix: sweeper is public, rc11 --- src/util/collection.ts | 2 +- src/util/constants.ts | 2 +- tests/members/ban.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/collection.ts b/src/util/collection.ts index d9bf68ce9..79af9ef80 100644 --- a/src/util/collection.ts +++ b/src/util/collection.ts @@ -2,7 +2,7 @@ import { Bot } from "../bot.ts"; export class Collection extends Map { maxSize?: number; - private sweeper?: CollectionSweeper & { intervalId?: number }; + sweeper?: CollectionSweeper & { intervalId?: number }; constructor(entries?: (readonly (readonly [K, V])[] | null) | Map, options?: CollectionOptions) { super(entries ?? []); diff --git a/src/util/constants.ts b/src/util/constants.ts index 79ba68acc..b4bdb196b 100644 --- a/src/util/constants.ts +++ b/src/util/constants.ts @@ -9,7 +9,7 @@ export const GATEWAY_VERSION = 9; // TODO: update this version /** https://github.com/discordeno/discordeno/releases */ -export const DISCORDENO_VERSION = "13.0.0-rc10"; +export const DISCORDENO_VERSION = "13.0.0-rc11"; /** https://discord.com/developers/docs/reference#user-agent */ diff --git a/tests/members/ban.ts b/tests/members/ban.ts index 6f1d93848..c745a8850 100644 --- a/tests/members/ban.ts +++ b/tests/members/ban.ts @@ -66,7 +66,7 @@ Deno.test({ }); // Assertions - assertExists(bot.members..get(BigInt(`${bot.id}${guild.id}`))); + assertExists(bot.members.get(BigInt(`${bot.id}${guild.id}`))); }, });