blob: b0b358fdab2425bcb5d1e80abadc579ab0b3bf1b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import { Snowflake } from "../../Identifiers";
import { PartialUser } from "../users";
export type EmojisResponse = EmojiResponse[];
export type ApplicationsEmojisResponse = { items: 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;
}
|