From a6c9b3381a6c5cf825ec3a3ff84399dde8819db5 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Tue, 10 Oct 2023 00:42:10 +0900 Subject: [PATCH] fix(discord): apply `hideGitHubButton` --- plugins/discord/back.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/discord/back.ts b/plugins/discord/back.ts index baeeb33b..db6c5bf2 100644 --- a/plugins/discord/back.ts +++ b/plugins/discord/back.ts @@ -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://github.com/th-ch/youtube-music' }, + ...(options.hideGitHubButton ? [] : [{ label: 'View App On GitHub', url: 'https://github.com/th-ch/youtube-music' }]), ], };