mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
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;
|
|
}
|