Skip to content

Commit

Permalink
fix(discord): apply hideGitHubButton
Browse files Browse the repository at this point in the history
  • Loading branch information
JellyBrick committed Oct 9, 2023
1 parent 5dc13a4 commit a6c9b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/discord/back.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export default (
largeImageText: songInfo.album ?? '',
buttons: [
...(options.listenAlong ? [{ label: 'Listen Along', url: songInfo.url ?? '' }] : []),
{ label: 'View App On GitHub', url: 'https:/th-ch/youtube-music' },
...(options.hideGitHubButton ? [] : [{ label: 'View App On GitHub', url: 'https:/th-ch/youtube-music' }]),
],
};

Expand Down

0 comments on commit a6c9b33

Please sign in to comment.