Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/plugins/cache/deps.ts>getUser

Discord API library for Deno
Go to Latest
function getUser
import { getUser } from "https://deno.land/x/discordeno@17.2.0/plugins/cache/deps.ts";

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

Returns

Promise<User>