move stuff around until it feels right
This commit is contained in:
19
library/embed/embed-options.ts
Normal file
19
library/embed/embed-options.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
export type EmbedOptions = {
|
||||
title?: string
|
||||
description?: string
|
||||
url?: string
|
||||
timestamp?: string
|
||||
color?: number
|
||||
fields?: EmbedFieldOptions[]
|
||||
author?: { name: string; url?: string; icon_url?: string }
|
||||
thumbnail?: { url: string }
|
||||
image?: { url: string }
|
||||
video?: { url: string }
|
||||
footer?: { text: string; icon_url?: string }
|
||||
}
|
||||
|
||||
export type EmbedFieldOptions = {
|
||||
name: string
|
||||
value: string
|
||||
inline?: boolean
|
||||
}
|
||||
Reference in New Issue
Block a user