summary refs log tree commit diff
path: root/src/schemas/api/guilds/Emoji.ts
blob: 6543fda7d5748ecbdc0aae4fb399890553ac1134 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { Snowflake } from "../../Identifiers";
import { PartialUser } from "../users";

export type EmojisResponse = EmojiResponse[];

// why is almost everything optional?
export interface EmojiResponse {
    id: Snowflake | null;
    // null only when deleted
    name: string | null;
    roles?: Snowflake[];
    user?: PartialUser;
    require_colons?: boolean;
    managed?: boolean;
    animated?: boolean;
    available?: boolean;
}