mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-03 16:24:27 -05:00 
			
		
		
		
	fixed withURL not working
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
#nullable disable
 | 
			
		||||
#nullable disable
 | 
			
		||||
using Microsoft.Extensions.Caching.Memory;
 | 
			
		||||
using NadekoBot.Modules.Administration.Services;
 | 
			
		||||
using NadekoBot.Modules.Searches.Common;
 | 
			
		||||
@@ -325,7 +325,7 @@ public partial class Searches : NadekoModule<SearchesService>
 | 
			
		||||
                            return _eb.Create()
 | 
			
		||||
                                      .WithOkColor()
 | 
			
		||||
                                      .WithUrl(item.Permalink)
 | 
			
		||||
                                      .WithAuthor(item.Word)
 | 
			
		||||
                                      .WithTitle(item.Word)
 | 
			
		||||
                                      .WithDescription(item.Definition);
 | 
			
		||||
                        },
 | 
			
		||||
                        items.Length,
 | 
			
		||||
@@ -612,4 +612,4 @@ public partial class Searches : NadekoModule<SearchesService>
 | 
			
		||||
        [JsonProperty("result_url")]
 | 
			
		||||
        public string ResultUrl { get; set; }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user