Skip to content

Commit

Permalink
fix: requested by undefined (SudhanPlayz#1232)
Browse files Browse the repository at this point in the history
  • Loading branch information
LewdHuTao authored Jun 1, 2023
1 parent 04231f5 commit 977de60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DiscordMusicBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ class DiscordMusicBot extends Client {
.addFields(
{
name: "Requested by",
value: `${track.requester}`,
value: `${track.requester || `<@${client.user.id}>`}`,
inline: true,
},
{
Expand Down

0 comments on commit 977de60

Please sign in to comment.