mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
d60c3242af
swc_bundler: - Fix cycle detection for complex circular imports. (denoland/deno#10752) swc_ecma_transforms_typescript: - Allow using large values for an enum variant.
25 lines
793 B
TypeScript
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;
|
|
}
|