mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-30 23:40:07 +00:00
* Create deno.json * run format * run format * ci: only check formatting * f * Update settings.json * Update settings.json
8 lines
294 B
TypeScript
8 lines
294 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);
|
|
});
|