Create Emoji.ts

This commit is contained in:
Intevel ツ
2021-08-13 12:18:21 +02:00
parent 91baf60e93
commit ca1752d8b4

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
}