diff options
Diffstat (limited to 'src/commands/dev/superUser.ts')
-rw-r--r-- | src/commands/dev/superUser.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands/dev/superUser.ts b/src/commands/dev/superUser.ts index 1b2fd7c..4bab8a1 100644 --- a/src/commands/dev/superUser.ts +++ b/src/commands/dev/superUser.ts @@ -16,6 +16,7 @@ export default class SuperUserCommand extends BushCommand { ownerOnly: true }); } + *args(): IterableIterator<ArgumentOptions | Flag> { const action = yield { id: 'action', @@ -38,6 +39,7 @@ export default class SuperUserCommand extends BushCommand { }; return { action, user }; } + public override async exec( message: BushMessage | BushSlashMessage, args: { action: 'add' | 'remove'; user: User } |