1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-09-21 10:11:34 +02:00

Create Emoji.ts

This commit is contained in:
Intevel ツ 2021-08-13 12:18:21 +02:00
parent ea0f2289fa
commit 0ab1042229

14
api/src/schema/Emoji.ts Normal file
View File

@ -0,0 +1,14 @@
// https://discord.com/developers/docs/resources/emoji
export const EmojiCreateSchema = {
name: String, //name of the emoji
image: String, // image data the 128x128 emoji image uri
roles: Array //roles allowed to use this emoji
};
export interface EmojiCreateSchema {
name: string; // name of the emoji
image: string; // image data the 128x128 emoji image uri
roles: []; //roles allowed to use this emoji
}