swc/bundler/tests/.cache/deno/2912a8bc48f5fdbaf35bfdd037b4c4ae1490c4b2.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

25 lines
793 B
TypeScript

// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/emojis/emoji.ts
import { User } from "../users/user.ts";
/** https://discord.com/developers/docs/resources/emoji#emoji-object-emoji-structure */
export interface Emoji {
/** Emoji id */
id: string | null;
/** Emoji name (can only be null in reaction emoji objects) */
name: string | null;
/** Roles allowed to use this emoji */
roles?: string[];
/** User that created this emoji */
user?: User;
/** Whether this emoji must be wrapped in colons */
requireColons?: boolean;
/** Whether this emoji is managed */
managed?: boolean;
/** Whether this emoji is animated */
animated?: boolean;
/** Whether this emoji can be used, may be false due to loss of Server Boosts */
available?: boolean;
}