fix: sweeper is public, rc11

This commit is contained in:
Skillz4Killz
2021-12-01 23:41:35 +00:00
committed by GitHub
parent 5c1a94fa5d
commit 01ae584ce0
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ import { Bot } from "../bot.ts";
export class Collection<K, V> extends Map<K, V> {
maxSize?: number;
private sweeper?: CollectionSweeper<K, V> & { intervalId?: number };
sweeper?: CollectionSweeper<K, V> & { intervalId?: number };
constructor(entries?: (readonly (readonly [K, V])[] | null) | Map<K, V>, options?: CollectionOptions<K, V>) {
super(entries ?? []);

View File

@@ -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 */

View File

@@ -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}`)));
},
});