all repos — stealth-developers @ 6c9221dce30360ff928f2a3b818b1da0ca294f6d

src/server/discord.ts (view raw)

 1
 2
 3
 4
 5
 6
import client from "@/discord";

export async function getUser(id: string) {
  const res = await client.users.fetch(id);
  return res;
}