diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-03-01 23:05:35 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-03-01 23:05:35 -0500 |
commit | 5932844c5ddee2e0f751f1b8702c2cdfbeae575d (patch) | |
tree | de09d5d0ae866850c99e9f052978492360c0f746 /src/commands/utilities/highlight-!.ts | |
parent | 6d55282a4d9c238c1809384562e091e4085853ad (diff) | |
download | tanzanite-5932844c5ddee2e0f751f1b8702c2cdfbeae575d.tar.gz tanzanite-5932844c5ddee2e0f751f1b8702c2cdfbeae575d.tar.bz2 tanzanite-5932844c5ddee2e0f751f1b8702c2cdfbeae575d.zip |
feat(HighlightCommand): unrestrict command and disable regex
Diffstat (limited to 'src/commands/utilities/highlight-!.ts')
-rw-r--r-- | src/commands/utilities/highlight-!.ts | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/commands/utilities/highlight-!.ts b/src/commands/utilities/highlight-!.ts index dd6da8d..0531cfd 100644 --- a/src/commands/utilities/highlight-!.ts +++ b/src/commands/utilities/highlight-!.ts @@ -17,13 +17,13 @@ export const highlightCommandArgs: { retry: '{error} Enter a valid word.', type: ApplicationCommandOptionType.String, required: true - }, - { - name: 'regex', - description: 'Should the word be matched using regular expression?', - type: ApplicationCommandOptionType.Boolean, - required: false } + // { + // name: 'regex', + // description: 'Should the word be matched using regular expression?', + // type: ApplicationCommandOptionType.Boolean, + // required: false + // } ], remove: [ { @@ -104,8 +104,7 @@ export default class HighlightCommand extends BushCommand { slash: true, channel: 'guild', clientPermissions: (m) => util.clientSendAndPermCheck(m), - userPermissions: [], - superUserOnly: true + userPermissions: [] }); } |