mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 19:43:16 +00:00
Schemas for emojis
This commit is contained in:
1 parent
ecea5540fa
commit
ef9c51fed1
4 files changed
+18
-1
No files matched your search
@@ -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