Skip to content

Commit

Permalink
updated bot.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
GhomKrosmonaute committed Apr 25, 2024
1 parent 45cfbf6 commit a903b7b
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/app/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -506,18 +506,10 @@ const defaultSystemMessages: SystemMessages = {
allowedMentions,
embeds: [
new discord.EmbedBuilder()
.setTitle(title ? `${getSystemEmoji("loading")} ${title}` : null)
.setTitle(title ?? null)
.setDescription(description ?? null)
.setColor(discord.Colors.Blurple)
.setAuthor(
author
? {
name: title
? author.name
: `${getSystemEmoji("loading")} ${author.name}`,
}
: null,
)
.setAuthor(author ?? null)
.setFooter(footer ?? null)
.addFields(fields ?? [])
.setTimestamp(timestamp ?? null),
Expand Down

0 comments on commit a903b7b

Please sign in to comment.