summary refs log tree commit diff
path: root/api/src/schema/Emoji.ts
blob: 0406919c78fd82a73e45c3bd3899d407f8192d50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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?: string[]; //roles allowed to use this emoji
}