Use collection expression, because I'm metal like that

This commit is contained in:
Zaprit 2025-07-20 18:42:40 +01:00
parent 0ba5b5ee0c
commit 0ff8ff0248

View file

@ -15,12 +15,12 @@ public class RemoveTwoFactorCommand : ICommand
{
public string Name() => "Remove Two Factor Authentication";
public string[] Aliases()
=> new[]
{
"remove2fa", "rm2fa",
};
=>
[
"removeTwoFactor", "rm2fa",
];
public string Arguments() => "<username/userId>";
public int RequiredArgs() => 2;
public int RequiredArgs() => 1;
public async Task Run(IServiceProvider provider, string[] args, Logger logger)
{