Skip to content

Commit

Permalink
fix(transcriptable): fixed an issue where if en embed had an author n…
Browse files Browse the repository at this point in the history
…ame but not an author url, it'd cause an exception
  • Loading branch information
seailz committed Nov 5, 2024
1 parent 164e558 commit 9794d57
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,10 @@ default TranscriptResponse transcript() throws IOException, DiscordRequest.Unhan

embedAuthorName.appendChild(embedAuthorNameLink);
} else {
embedAuthorName.text(embed.author().url());
try {
embedAuthorName.text(embed.author().url());
} catch (Exception e) {
}
}

embedAuthor.appendChild(embedAuthorName);
Expand Down

0 comments on commit 9794d57

Please sign in to comment.