@@ -31,13 +31,13 @@ module.exports = {
3131 const trackArtist = formatText ( track . author ) ;
3232 const lyricText = await lyricFind ( client , trackTitle , trackArtist ) ;
3333 const loadingEmbed = new EmbedBuilder ( ) . setColor ( client . config . embedColor ) . setDescription ( `Please wait...!` ) ;
34- const ladingMsg = await interaction . reply ( { embeds : [ loadingEmbed ] } ) ;
34+ const loadingMsg = await interaction . reply ( { embeds : [ loadingEmbed ] } ) ;
3535
3636 if ( ! lyricText ) {
3737 embed . setDescription ( `No lyrics found. Please try again later.` ) ;
3838
39- if ( ladingMsg ) {
40- return ladingMsg . edit ( { embeds : [ embed ] } ) ;
39+ if ( loadingMsg ) {
40+ return loadingMsg . edit ( { embeds : [ embed ] } ) ;
4141 } else {
4242 return interaction . reply ( { embeds : [ embed ] } ) ;
4343 }
@@ -52,8 +52,8 @@ module.exports = {
5252 . setThumbnail ( track . artworkUrl )
5353 . setDescription ( lyricText ) ;
5454
55- if ( ladingMsg ) {
56- return ladingMsg . edit ( { embeds : [ embed ] } ) ;
55+ if ( loadingMsg ) {
56+ return loadingMsg . edit ( { embeds : [ embed ] } ) ;
5757 } else {
5858 return interaction . reply ( { embeds : [ embed ] } ) ;
5959 }
@@ -71,8 +71,8 @@ module.exports = {
7171 new ButtonBuilder ( ) . setURL ( lyricUrl . replace ( "http:" , "https:" ) ) . setLabel ( "Full Lyrics" ) . setStyle ( ButtonStyle . Link ) ,
7272 ) ;
7373
74- if ( ladingMsg ) {
75- return ladingMsg . edit ( { embeds : [ embed ] , components : [ lyricButton ] } ) ;
74+ if ( loadingMsg ) {
75+ return loadingMsg . edit ( { embeds : [ embed ] , components : [ lyricButton ] } ) ;
7676 } else {
7777 return interaction . editReply ( { embeds : [ embed ] , components : [ lyricButton ] } ) ;
7878 }
0 commit comments