aboutsummaryrefslogtreecommitdiff
path: root/src/commands/utilities
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-12-13 20:42:09 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-12-13 20:42:09 -0500
commit23b5983adc5567e6647f241749a0d0e0490aedb5 (patch)
tree813f75a87e7f784876d6cdf1fc8f1923f6d3094f /src/commands/utilities
parent9f705a0e5a90177784d45d20200dbaa46a569e78 (diff)
downloadtanzanite-23b5983adc5567e6647f241749a0d0e0490aedb5.tar.gz
tanzanite-23b5983adc5567e6647f241749a0d0e0490aedb5.tar.bz2
tanzanite-23b5983adc5567e6647f241749a0d0e0490aedb5.zip
fix order
Diffstat (limited to 'src/commands/utilities')
-rw-r--r--src/commands/utilities/wolframAlpha.ts13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/commands/utilities/wolframAlpha.ts b/src/commands/utilities/wolframAlpha.ts
index 34b2b90..216beaf 100644
--- a/src/commands/utilities/wolframAlpha.ts
+++ b/src/commands/utilities/wolframAlpha.ts
@@ -12,6 +12,16 @@ export default class WolframAlphaCommand extends BushCommand {
examples: ['wolfram-alpha what is the population of france'],
args: [
{
+ id: 'expression',
+ description: 'The expression to query the Wolfram|Alpha api for.',
+ type: 'string',
+ match: 'rest',
+ prompt: 'What would you like to look up?',
+ retry: '{error} Pick something to look up.',
+ slashType: 'STRING',
+ only:'slash'
+ },
+ {
id: 'image',
description: 'Whether to use the Simple API instead of the Short Answers API.',
match: 'flag',
@@ -27,7 +37,8 @@ export default class WolframAlphaCommand extends BushCommand {
match: 'rest',
prompt: 'What would you like to look up?',
retry: '{error} Pick something to look up.',
- slashType: 'STRING'
+ slashType: 'STRING',
+ only: 'text'
}
],
slash: true,