mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-03 16:24:27 -05:00 
			
		
		
		
	all calls to .WithAuthor and .WithFooter no longer use their respective builders
This commit is contained in:
		@@ -41,12 +41,10 @@ namespace NadekoBot.Common
 | 
			
		||||
                embed.WithUrl(Url);
 | 
			
		||||
            embed.WithColor(new Discord.Color(Color));
 | 
			
		||||
            if (Footer != null)
 | 
			
		||||
                embed.WithFooter(efb =>
 | 
			
		||||
                {
 | 
			
		||||
                    efb.WithText(Footer.Text);
 | 
			
		||||
                    if (Uri.IsWellFormedUriString(Footer.IconUrl, UriKind.Absolute))
 | 
			
		||||
                        efb.WithIconUrl(Footer.IconUrl);
 | 
			
		||||
                });
 | 
			
		||||
                embed.WithFooter(Footer.Text,
 | 
			
		||||
                    Uri.IsWellFormedUriString(Footer.IconUrl, UriKind.Absolute)
 | 
			
		||||
                        ? Footer.IconUrl
 | 
			
		||||
                        : null);
 | 
			
		||||
 | 
			
		||||
            if (Thumbnail != null && Uri.IsWellFormedUriString(Thumbnail, UriKind.Absolute))
 | 
			
		||||
                embed.WithThumbnailUrl(Thumbnail);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user