File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -488,7 +488,11 @@ export namespace RestResponses {
488
488
export namespace RestResponsesRaw {
489
489
export interface AudioToolsIdentifySong {
490
490
album : { name : string } ,
491
- artists : Array < { name : string } > ,
491
+ artists : Array < {
492
+ langs ?: Array < { name : string , code : string } > ,
493
+ name : string ,
494
+ roles ?: Array < string > ,
495
+ } > ,
492
496
duration : number ,
493
497
exids : string | null ,
494
498
genres : Array < string > ,
Original file line number Diff line number Diff line change @@ -101,7 +101,9 @@ export async function createMessage(
101
101
if ( song . platforms . youtube && song . platforms . youtube . url ) {
102
102
urls . push ( Markup . url ( 'YouTube' , song . platforms . youtube . url ) ) ;
103
103
}
104
- embed . addField ( 'Platform Links' , urls . join ( ', ' ) ) ;
104
+ if ( urls . length ) {
105
+ embed . addField ( 'Platform Links' , urls . join ( ', ' ) ) ;
106
+ }
105
107
}
106
108
107
109
{
You can’t perform that action at this time.
0 commit comments