fixed withURL not working

This commit is contained in:
Hokuto Chen
2023-02-12 09:52:56 +00:00
parent 51e887fe04
commit 73f7394e31

View File

@@ -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; }
}
}
}