mirror of
https://github.com/spacebarchat/server.git
synced 2026-06-07 21:51:56 +00:00
Schemas for emojis
This commit is contained in:
@@ -0,0 +1,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;
|
||||
}
|
||||
Reference in New Issue
Block a user