docs: slight update to lmgtfy command's strings

This commit is contained in:
Kwoth
2024-07-28 19:53:14 +00:00
parent b5e2b6f483
commit 2fba771681
2 changed files with 6 additions and 8 deletions

View File

@@ -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<SearchesService>
}
[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();
}