mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-30 23:40:07 +00:00
9 lines
380 B
TypeScript
9 lines
380 B
TypeScript
import { bot } from "../mod.ts";
|
|
import { CACHED_COMMUNITY_GUILD_ID } from "../constants.ts";
|
|
import { assertEquals } from "../deps.ts";
|
|
|
|
Deno.test("[member] Gets a member list and checks if the bot is in the member list", async () => {
|
|
const members = await bot.helpers.getMembers(CACHED_COMMUNITY_GUILD_ID, { memberCount: 10 });
|
|
assertEquals(members.has(bot.id), true);
|
|
});
|