dev: lmgtfy should now be properly shortened, small refactor of .shorten command

This commit is contained in:
Kwoth
2024-08-04 17:58:04 +00:00
parent f4ed907134
commit 690c03b396
3 changed files with 62 additions and 41 deletions

View File

@@ -0,0 +1,10 @@
#nullable disable
using Newtonsoft.Json;
namespace NadekoBot.Modules.Searches.Services;
public class ShortenData
{
[JsonProperty("result_url")]
public string ResultUrl { get; set; }
}