mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 01:10:07 +00:00
8 lines
297 B
TypeScript
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);
|
|
});
|