File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ class Discord extends Integration {
333333 if ( broadcasterType !== '' ) {
334334 embed . addField ( prepare ( 'webpanel.subscribers' ) , String ( stats . value . currentSubscribers ) , true ) ;
335335 }
336- message . edit ( { embeds : [ embed ] } ) ;
336+ message . edit ( { embeds : [ embed ] , content : null } ) ;
337337 }
338338 } catch ( e : any ) {
339339 warning ( `Discord embed couldn't be changed to offline - ${ e . message } ` ) ;
@@ -383,7 +383,7 @@ class Discord extends Integration {
383383 }
384384 // Send the embed to the same channel as the message
385385 const message = await ( channel as DiscordJs . TextChannel ) . send ( {
386- content : this . onlineAnnounceMessage ,
386+ content : this . onlineAnnounceMessage . length > 0 ? this . onlineAnnounceMessage : null ,
387387 embeds : [ embed ] ,
388388 } ) ;
389389 this . embedMessageId = message . id ;
You can’t perform that action at this time.
0 commit comments