Some refactorings - Updated editorconfig, removed some unused variables and parameters, updated some old thorwaway variable code, some general cleanup

This commit is contained in:
Kwoth
2022-02-01 13:51:07 +01:00
parent d31cfcc5a8
commit 7ee51332b0
20 changed files with 64 additions and 201 deletions

View File

@@ -337,7 +337,7 @@ public sealed partial class Music : NadekoModule<IMusicService>
var videos = await _service.SearchVideosAsync(query);
if (videos is null || videos.Count == 0)
if (videos.Count == 0)
{
await ReplyErrorLocalizedAsync(strs.song_not_found);
return;