Small change, version upped
This commit is contained in:
		@@ -12,7 +12,7 @@ namespace NadekoBot.Common
 | 
				
			|||||||
        public string PlainText { get; set; }
 | 
					        public string PlainText { get; set; }
 | 
				
			||||||
        public string Title { get; set; }
 | 
					        public string Title { get; set; }
 | 
				
			||||||
        public string Description { get; set; }
 | 
					        public string Description { get; set; }
 | 
				
			||||||
        public string url { get; set; }
 | 
					        public string Url { get; set; }
 | 
				
			||||||
        public CREmbedFooter Footer { get; set; }
 | 
					        public CREmbedFooter Footer { get; set; }
 | 
				
			||||||
        public string Thumbnail { get; set; }
 | 
					        public string Thumbnail { get; set; }
 | 
				
			||||||
        public string Image { get; set; }
 | 
					        public string Image { get; set; }
 | 
				
			||||||
@@ -27,7 +27,7 @@ namespace NadekoBot.Common
 | 
				
			|||||||
        public bool IsValid =>
 | 
					        public bool IsValid =>
 | 
				
			||||||
            !string.IsNullOrWhiteSpace(Title) ||
 | 
					            !string.IsNullOrWhiteSpace(Title) ||
 | 
				
			||||||
            !string.IsNullOrWhiteSpace(Description) ||
 | 
					            !string.IsNullOrWhiteSpace(Description) ||
 | 
				
			||||||
            !string.IsNullOrWhiteSpace(url) ||
 | 
					            !string.IsNullOrWhiteSpace(Url) ||
 | 
				
			||||||
            !string.IsNullOrWhiteSpace(Thumbnail) ||
 | 
					            !string.IsNullOrWhiteSpace(Thumbnail) ||
 | 
				
			||||||
            !string.IsNullOrWhiteSpace(Image) ||
 | 
					            !string.IsNullOrWhiteSpace(Image) ||
 | 
				
			||||||
            (Footer != null && (!string.IsNullOrWhiteSpace(Footer.Text) || !string.IsNullOrWhiteSpace(Footer.IconUrl))) ||
 | 
					            (Footer != null && (!string.IsNullOrWhiteSpace(Footer.Text) || !string.IsNullOrWhiteSpace(Footer.IconUrl))) ||
 | 
				
			||||||
@@ -41,8 +41,8 @@ namespace NadekoBot.Common
 | 
				
			|||||||
                embed.WithTitle(Title);
 | 
					                embed.WithTitle(Title);
 | 
				
			||||||
            if (!string.IsNullOrWhiteSpace(Description))
 | 
					            if (!string.IsNullOrWhiteSpace(Description))
 | 
				
			||||||
                embed.WithDescription(Description);
 | 
					                embed.WithDescription(Description);
 | 
				
			||||||
            if (url != null && Uri.IsWellFormedUriString(url, UriKind.Absolute))
 | 
					            if (Url != null && Uri.IsWellFormedUriString(Url, UriKind.Absolute))
 | 
				
			||||||
                embed.WithUrl(url);
 | 
					                embed.WithUrl(Url);
 | 
				
			||||||
            embed.WithColor(new Discord.Color(Color));
 | 
					            embed.WithColor(new Discord.Color(Color));
 | 
				
			||||||
            if (Footer != null)
 | 
					            if (Footer != null)
 | 
				
			||||||
                embed.WithFooter(efb =>
 | 
					                embed.WithFooter(efb =>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -21,7 +21,7 @@ namespace NadekoBot.Core.Services.Impl
 | 
				
			|||||||
        private readonly IBotCredentials _creds;
 | 
					        private readonly IBotCredentials _creds;
 | 
				
			||||||
        private readonly DateTime _started;
 | 
					        private readonly DateTime _started;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public const string BotVersion = "2.5.1";
 | 
					        public const string BotVersion = "2.5.2";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public string Author => "Kwoth#2560";
 | 
					        public string Author => "Kwoth#2560";
 | 
				
			||||||
        public string Library => "Discord.Net";
 | 
					        public string Library => "Discord.Net";
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user