swc/crates/swc_bundler/tests/.cache/deno/2912a8bc48f5fdbaf35bfdd037b4c4ae1490c4b2.ts
2021-11-09 20:42:49 +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;
}