Skip to content

Commit a6c9b33

Browse files
committed
fix(discord): apply hideGitHubButton
1 parent 5dc13a4 commit a6c9b33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/discord/back.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export default (
163163
largeImageText: songInfo.album ?? '',
164164
buttons: [
165165
...(options.listenAlong ? [{ label: 'Listen Along', url: songInfo.url ?? '' }] : []),
166-
{ label: 'View App On GitHub', url: 'https://github.com/th-ch/youtube-music' },
166+
...(options.hideGitHubButton ? [] : [{ label: 'View App On GitHub', url: 'https://github.com/th-ch/youtube-music' }]),
167167
],
168168
};
169169

0 commit comments

Comments
 (0)