mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
build: bump dependencies (#10457)
* build: bump `@vladfrangu/async_event_emitter` * chore: bump again + fixes * build: bump types/node and some dev deps * build: bump discord-api-types again * style: remove unused eslint-ignore comment * build: sync dependencies and update templates * build: bump turbo * build: vercel + vitest * build: bump undici --------- Co-authored-by: Vlad Frangu <me@vladfrangu.dev>
This commit is contained in:
@@ -31,12 +31,12 @@ export function DiscordMessage({
|
||||
className={`pl-18 hover:bg-[rgb(4_4_5)]/7 group py-0.5 pr-12 leading-snug ${followUp ? '' : 'mt-4'}`}
|
||||
id="message-wrapper"
|
||||
>
|
||||
{(reply || replyNode) && !followUp ? reply ? <DiscordMessageReply {...reply} /> : replyNode ?? null : null}
|
||||
{(reply || replyNode) && !followUp ? reply ? <DiscordMessageReply {...reply} /> : (replyNode ?? null) : null}
|
||||
{(interaction || interactionNode) && !(reply || replyNode) && !followUp ? (
|
||||
interaction ? (
|
||||
<DiscordMessageInteraction {...interaction} />
|
||||
) : (
|
||||
interactionNode ?? null
|
||||
(interactionNode ?? null)
|
||||
)
|
||||
) : null}
|
||||
<div className="static" id="content-wrapper">
|
||||
|
||||
@@ -36,12 +36,12 @@ export function DiscordMessageEmbed({
|
||||
<div className="grid max-w-max border-l-4 border-l-blurple rounded bg-[rgb(47_49_54)]" id="embed-wrapper">
|
||||
<div className="max-w-128 flex">
|
||||
<div className="pb-4 pl-3 pr-4 pt-2">
|
||||
{author ? <DiscordMessageEmbedAuthor {...author} /> : authorNode ?? null}
|
||||
{title ? <DiscordMessageEmbedTitle {...title} /> : titleNode ?? null}
|
||||
{author ? <DiscordMessageEmbedAuthor {...author} /> : (authorNode ?? null)}
|
||||
{title ? <DiscordMessageEmbedTitle {...title} /> : (titleNode ?? null)}
|
||||
{children ? <div className="mt-2 text-sm">{children}</div> : null}
|
||||
{fields ? <DiscordMessageEmbedFields fields={fields} /> : null}
|
||||
{image ? <DiscordMessageEmbedImage {...image} /> : null}
|
||||
{footer ? <DiscordMessageEmbedFooter {...footer} /> : footerNode ?? null}
|
||||
{footer ? <DiscordMessageEmbedFooter {...footer} /> : (footerNode ?? null)}
|
||||
</div>
|
||||
|
||||
{thumbnail ? <DiscordMessageEmbedThumbnail {...thumbnail} /> : null}
|
||||
|
||||
Reference in New Issue
Block a user