mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 01:10:07 +00:00
fix: sweeper is public, rc11
This commit is contained in:
@@ -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 ?? []);
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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}`)));
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user