Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method ClientUser.prototype.fetchGuild
import { ClientUser } from "https://deno.land/x/discord_rpc_deno@v1.0.25/src/structures/ClientUser.ts";

Used to get a guild the client is in.

Parameters

guildId: string
  • id of the guild to get
optional
timeout: number
  • asynchronously get guild with time to wait before timing out

Returns

Promise<Guild>

partial guild