Removed redundant parenthesis

This commit is contained in:
Kwoth
2021-12-20 03:54:30 +01:00
parent edd60ae656
commit 9223d78849
58 changed files with 147 additions and 147 deletions

View File

@@ -198,7 +198,7 @@ public class Help : NadekoModule<HelpService>
{
succ = new((await Task.WhenAll(cmds.Select(async x =>
{
var pre = (await x.CheckPreconditionsAsync(Context, _services).ConfigureAwait(false));
var pre = await x.CheckPreconditionsAsync(Context, _services).ConfigureAwait(false);
return (Cmd: x, Succ: pre.IsSuccess);
})).ConfigureAwait(false))
.Where(x => x.Succ)