Skip to main content
Module

x/tpy/mod.ts>Guild.GET.Guild

🔑 A strongly typed Pylon API client.
Go to Latest
type alias Guild.GET.Guild
import { type Guild } from "https://deno.land/x/tpy@v1.0.0-pre-release-5/mod.ts";
const { Guild } = 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<Deployment.Structures.Base & { last_updated_at: null; config: Raw extends true ? string : Deployment.Structures.Config; disabled: boolean; }>; region: `deprecated`; unavailable: APIUnavailableGuild["unavailable"]; }