mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-03 19:45:48 +00:00
Create Emoji.ts
This commit is contained in:
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
|
||||
}
|
||||
Reference in New Issue
Block a user