Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
cm-ayf committed Dec 20, 2021
1 parent f5f72b1 commit 97390bd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/expand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,15 @@ export default function expand(client: Client<true>, message: Message) {
name: member ? member.displayName : author.username,
icon_url: (member ?? author).displayAvatarURL(),
},
description:
content + (embeds.length > 0)
description: `${content}${
embeds.length > 0
? `\n(${embeds.length} ${
embeds.length == 1
? "embed follows."
: "embeds follow."
})`
: "",
: ""
}`,
timestamp: createdAt,
footer: {
text: channel.parent?.parent
Expand Down

0 comments on commit 97390bd

Please sign in to comment.