Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/discordeno/helpers/misc/getUser.ts>getUser

Discord API library for Deno
Go to Latest
function getUser
import { getUser } from "https://deno.land/x/discordeno@17.0.0/helpers/misc/getUser.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>