Skip to main content
Module

x/discord_rpc_deno/mod.ts>ClientUser#fetchGuild

port of @xhayper/discord-rpc to deno
Go to Latest
method ClientUser.prototype.fetchGuild
Re-export
import { ClientUser } from "https://deno.land/x/discord_rpc_deno@v1.0.17/mod.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