Skip to main content
Module

x/discordeno/mod.ts>getUser

Discord API library for Deno
Latest
function getUser
import { getUser } from "https://deno.land/x/discordeno@18.0.1/mod.ts";

This function will return the raw user payload in the rare cases you need to fetch a user directly from the API.

Parameters

bot: Bot
userId: BigString

Returns

Promise<User>