mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-23 13:41:31 +00:00
Use collection expression, because I'm metal like that
This commit is contained in:
parent
0ba5b5ee0c
commit
0ff8ff0248
1 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue