mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-24 22:21:30 +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 Name() => "Remove Two Factor Authentication";
|
||||||
public string[] Aliases()
|
public string[] Aliases()
|
||||||
=> new[]
|
=>
|
||||||
{
|
[
|
||||||
"remove2fa", "rm2fa",
|
"removeTwoFactor", "rm2fa",
|
||||||
};
|
];
|
||||||
public string Arguments() => "<username/userId>";
|
public string Arguments() => "<username/userId>";
|
||||||
public int RequiredArgs() => 2;
|
public int RequiredArgs() => 1;
|
||||||
|
|
||||||
public async Task Run(IServiceProvider provider, string[] args, Logger logger)
|
public async Task Run(IServiceProvider provider, string[] args, Logger logger)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue