Skip to content

Commit

Permalink
Use Title and URL instead of Description for embed
Browse files Browse the repository at this point in the history
  • Loading branch information
Wissididom committed Aug 13, 2024
1 parent b1571a5 commit 08c8a94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ for (let i = 0; i < clips.length; i++) {
content,
embeds: [
new EmbedBuilder()
.setDescription(`[${clips[i].title.trim()}](${clips[i].url})`)
.setTitle(clips[i].title.trim())
.setURL(clips[i].url)
.addFields(
{
name: "Game",
Expand Down

0 comments on commit 08c8a94

Please sign in to comment.