mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 17:58:26 -04:00
Removed redundant parenthesis
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user