mirror of
https://github.com/spacebarchat/server.git
synced 2024-09-21 18:21:36 +02:00
Create Emoji.ts
This commit is contained in:
parent
ea0f2289fa
commit
0ab1042229
14
api/src/schema/Emoji.ts
Normal file
14
api/src/schema/Emoji.ts
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user