Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/tpy/src/types/guild.d.ts>GET.Guild

🔑 A strongly typed Pylon API client.
Latest
type alias GET.Guild
import { type GET } from "https://deno.land/x/tpy@v1.0.0-RC/src/types/guild.d.ts";
const { Guild } = GET;

Response schema for GET /guilds/:id.

Returns some guild info (everything the v8 Discord API normally gives you) as well as a list of deployments.

Type Parameters

optional
Raw extends boolean = true
definition: RESTPostAPIGuildsJSONBody & { deployments: Array<DeploymentStructures.Base & { last_updated_at: null; config: Raw extends true ? string : DeploymentStructures.Config; disabled: boolean; }>; region: `deprecated`; unavailable: APIUnavailableGuild["unavailable"]; }