use adapter to make discord.js optional

This commit is contained in:
MapleLeaf
2021-12-25 20:05:35 -06:00
parent 4cf9049496
commit 6909336cac
18 changed files with 282 additions and 125 deletions

View 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
}