harmony/src/types/emoji.ts

19 lines
343 B
TypeScript
Raw Permalink Normal View History

2021-04-04 09:29:56 +00:00
import type { UserPayload } from './user.ts'
export interface EmojiPayload {
2020-12-26 06:34:15 +00:00
id: string | null
name: string | null
roles?: string[]
user?: UserPayload
require_colons?: boolean
managed?: boolean
animated?: boolean
available?: boolean
}
2021-04-04 07:45:37 +00:00
export interface CreateEmojiPayload {
name: string
image: string
roles?: string[]
}