swc/bundler/tests/.cache/deno/4a1aca5aa0ff49c1333bc985dd655ee10d2cf542.ts
강동윤 d60c3242af
fix(swc): Fix bugs (#1739)
swc_bundler:
 - Fix cycle detection for complex circular imports. (denoland/deno#10752)

swc_ecma_transforms_typescript:
 - Allow using large values for an enum variant.
2021-05-25 14:30:17 +09:00

30 lines
951 B
TypeScript

// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/guilds/guild_preview.ts
import { Emoji } from "../emojis/emoji.ts";
import { DiscordGuildFeatures } from "./guild_features.ts";
/** https://discord.com/developers/docs/resources/guild#guild-preview-object */
export interface GuildPreview {
/** Guild id */
id: string;
/** Guild name (2-100 characters) */
name: string;
/** Icon hash */
icon: string | null;
/** Splash hash */
splash: string | null;
/** Discovery splash hash */
discoverySplash: string | null;
/** Custom guild emojis */
emojis: Emoji[];
/** Enabled guild features */
features: DiscordGuildFeatures[];
/** Approximate number of members in this guild */
approximateMemberCount: number;
/** Approximate number of online members in this guild */
approximatePresenceCount: number;
/** The description for the guild, if the guild is discoverable */
description: string | null;
}