Skip to main content
Module

x/discordeno/tests/misc/getUser.ts

Discord API library for Deno
Go to Latest
File
import { assertEquals, assertExists } from "../deps.ts";import { bot } from "../mod.ts";
Deno.test({ name: "[User] get a user and transform", fn: async (t) => { const user = await bot.helpers.getUser(bot.id); assertExists(user);
assertEquals(user.id, bot.id); },});