Skip to content

Commit

Permalink
feat(music): set thumbnail instead of image when queuing new track
Browse files Browse the repository at this point in the history
  • Loading branch information
ayamdobhal committed Nov 27, 2024
1 parent b90bfa6 commit bd63a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/music.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ pub async fn music(ctx: Context<'_>, song_name: Vec<String>) -> Result<(), Error
),
true,
)
.image(track.clone().thumbnail.unwrap())
.thumbnail(track.clone().thumbnail.unwrap())
.footer(
CreateEmbedFooter::new(format!("Requested by: {}", ctx.author().name))
.icon_url(ctx.author().avatar_url().unwrap_or_default()),
Expand Down

0 comments on commit bd63a86

Please sign in to comment.