diff --git a/src/NadekoBot/Modules/Searches/Searches.cs b/src/NadekoBot/Modules/Searches/Searches.cs index 961f4269e..bedcb05ad 100644 --- a/src/NadekoBot/Modules/Searches/Searches.cs +++ b/src/NadekoBot/Modules/Searches/Searches.cs @@ -2,7 +2,6 @@ using Microsoft.Extensions.Caching.Memory; using NadekoBot.Modules.Searches.Common; using NadekoBot.Modules.Searches.Services; -using NadekoBot.Modules.Utility; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using SixLabors.ImageSharp; @@ -11,7 +10,6 @@ using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.Processing; using System.Diagnostics.CodeAnalysis; using System.Net; -using System.Net.Http.Json; using Color = SixLabors.ImageSharp.Color; namespace NadekoBot.Modules.Searches; @@ -171,12 +169,12 @@ public partial class Searches : NadekoModule } [Cmd] - public async Task Lmgtfy([Leftover] string ffs = null) + public async Task Lmgtfy([Leftover] string smh = null) { - if (!await ValidateQuery(ffs)) + if (!await ValidateQuery(smh)) return; - var shortenedUrl = await _google.ShortenUrl($"https://letmegooglethat.com/?q={Uri.EscapeDataString(ffs)}"); + var shortenedUrl = await _google.ShortenUrl($"https://letmegooglethat.com/?q={Uri.EscapeDataString(smh)}"); await Response().Confirm($"<{shortenedUrl}>").SendAsync(); } diff --git a/src/NadekoBot/data/strings/commands/commands.en-US.yml b/src/NadekoBot/data/strings/commands/commands.en-US.yml index 11b734c96..cd05af37a 100644 --- a/src/NadekoBot/data/strings/commands/commands.en-US.yml +++ b/src/NadekoBot/data/strings/commands/commands.en-US.yml @@ -2078,11 +2078,11 @@ image: - query: desc: "The search term used to retrieve the desired image." lmgtfy: - desc: Google something for an idiot. + desc: Google something for a baka. ex: - - query + - How to eat a banana params: - - ffs: + - smh: desc: "The search query to be entered into the search engine." google: desc: Get a Google search link for some terms.