Skip to content

Commit

Permalink
Added artist to search
Browse files Browse the repository at this point in the history
Added the artist/author to the search results to help with song selection.

Signed-off-by: zebz213 <[email protected]>
  • Loading branch information
zebz213 authored Apr 11, 2024
1 parent ddbb0c8 commit 016f655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events/client/InteractionCreate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export default class InteractionCreate extends Event {
if (!res.data.length) return;
res.data.slice(0, 10).forEach(x => {
songs.push({
name: x.info.title,
name: `${x.info.title} by ${x.info.author}`,
value: x.info.uri,
});
});
Expand Down

0 comments on commit 016f655

Please sign in to comment.