Merge branch 'hokutochen-v4-patch-25972' into 'v4'

fixed withURL not working

See merge request Kwoth/nadekobot!286
This commit is contained in:
Kwoth
2023-02-12 10:20:22 +00:00

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,