Files
discordeno/tests/members/getMember.ts
Hugo Chretien cf21e5963a getMember test
2021-11-24 19:05:27 +01:00

8 lines
297 B
TypeScript

import { bot, guild } from "../mod.ts";
import { assertEquals } from "../deps.ts";
Deno.test("[member] fetches the bot and compares the bot's id with the fetched member's id", async () => {
const member = await bot.helpers.getMember(guild.id,bot.id);
assertEquals(member.id, bot.id);
});