From 73f7394e315b89b8d65425d21b1e82f887b8fb78 Mon Sep 17 00:00:00 2001 From: Hokuto Chen Date: Sun, 12 Feb 2023 09:52:56 +0000 Subject: [PATCH] fixed withURL not working --- src/NadekoBot/Modules/Searches/Searches.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NadekoBot/Modules/Searches/Searches.cs b/src/NadekoBot/Modules/Searches/Searches.cs index 91601ae75..16f25e968 100644 --- a/src/NadekoBot/Modules/Searches/Searches.cs +++ b/src/NadekoBot/Modules/Searches/Searches.cs @@ -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 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 [JsonProperty("result_url")] public string ResultUrl { get; set; } } -} \ No newline at end of file +}