From 70fac30661ee06b07baceed6e44880b16e244626 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Fri, 30 Jul 2021 19:38:16 -0400 Subject: general clean up and fix automod --- src/commands/dev/superUser.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/commands/dev/superUser.ts') diff --git a/src/commands/dev/superUser.ts b/src/commands/dev/superUser.ts index 9071a8d..eade861 100644 --- a/src/commands/dev/superUser.ts +++ b/src/commands/dev/superUser.ts @@ -1,5 +1,4 @@ import { BushCommand, BushMessage, BushSlashMessage, Global } from '@lib'; -import { Constants } from 'discord-akairo'; import { User } from 'discord.js'; export default class SuperUserCommand extends BushCommand { @@ -20,7 +19,6 @@ export default class SuperUserCommand extends BushCommand { const action = yield { id: 'action', type: ['add', 'remove'], - match: Constants.ArgumentMatches.PHRASE, prompt: { start: 'Would you like to `add` or `remove` a user from the superuser list?', retry: '{error} Choose if you would like to `add` or `remove` a user.', @@ -29,8 +27,8 @@ export default class SuperUserCommand extends BushCommand { }; const user = yield { id: 'user', - type: Constants.ArgumentTypes.USER, - match: Constants.ArgumentMatches.REST_CONTENT, + type: 'user', + match: 'restContent', prompt: { start: `Who would you like to ${action || 'add/remove'} from the superuser list?`, retry: `Choose a valid user to ${action || 'add/remove'} from the superuser list.`, -- cgit