aboutsummaryrefslogtreecommitdiff
path: root/src/commands/utilities/hash.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/utilities/hash.ts')
-rw-r--r--src/commands/utilities/hash.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/commands/utilities/hash.ts b/src/commands/utilities/hash.ts
index 4b5b01c..fcf2da3 100644
--- a/src/commands/utilities/hash.ts
+++ b/src/commands/utilities/hash.ts
@@ -1,5 +1,4 @@
import crypto from 'crypto';
-import { Constants } from 'discord-akairo';
import got from 'got';
import { BushCommand, BushMessage } from '../../lib';
@@ -16,8 +15,7 @@ export default class HashCommand extends BushCommand {
args: [
{
id: 'url',
- type: Constants.ArgumentTypes.URL,
- match: Constants.ArgumentMatches.PHRASE,
+ type: 'url',
prompt: {
start: 'What url would you like to find the hash of?',
retry: '{error} Enter a valid url.'