Fixed around 140 wrong namings and other refactorings which were marked as warnings

This commit is contained in:
Kwoth
2022-01-08 11:51:41 +01:00
parent a6330119e8
commit 2ce3262d59
109 changed files with 698 additions and 760 deletions

View File

@@ -477,7 +477,7 @@ public partial class Searches : NadekoModule<SearchesService>
if (!await ValidateQuery(word))
return;
using var _http = _httpFactory.CreateClient();
using var http = _httpFactory.CreateClient();
string res;
try
{
@@ -485,7 +485,7 @@ public partial class Searches : NadekoModule<SearchesService>
e =>
{
e.AbsoluteExpirationRelativeToNow = TimeSpan.FromHours(12);
return _http.GetStringAsync("https://api.pearson.com/v2/dictionaries/entries?headword="
return http.GetStringAsync("https://api.pearson.com/v2/dictionaries/entries?headword="
+ WebUtility.UrlEncode(word));
});