More common refactorings like renaming variables, removing empty statements and unused variables, etc

This commit is contained in:
Kwoth
2022-01-09 16:46:08 +01:00
parent 2ce3262d59
commit f07a855912
75 changed files with 447 additions and 465 deletions

View File

@@ -36,7 +36,7 @@ public partial class NSFW : NadekoModule<ISearchImagesService>
}
}
private async Task InternalButts(IMessageChannel Channel)
private async Task InternalButts(IMessageChannel channel)
{
try
{
@@ -47,7 +47,7 @@ public partial class NSFW : NadekoModule<ISearchImagesService>
await http.GetStringAsync($"http://api.obutts.ru/butts/{new NadekoRandom().Next(0, 4335)}"))[0];
}
await Channel.SendMessageAsync($"http://media.obutts.ru/{obj["preview"]}");
await channel.SendMessageAsync($"http://media.obutts.ru/{obj["preview"]}");
}
catch (Exception ex)
{