misc.wolfram: add calc as alias
This commit is contained in:
parent
a7b68deedd
commit
5c3d649492
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ wolfram.category = CATEGORY;
|
||||||
wolfram.helpText = "Wolfram Alpha";
|
wolfram.helpText = "Wolfram Alpha";
|
||||||
wolfram.usage = "<-v> [query]";
|
wolfram.usage = "<-v> [query]";
|
||||||
wolfram.addAlias("wa");
|
wolfram.addAlias("wa");
|
||||||
|
wolfram.addAlias("calc");
|
||||||
wolfram.callback = async function (msg, line, args, {verbose, v}) {
|
wolfram.callback = async function (msg, line, args, {verbose, v}) {
|
||||||
const _verbose = verbose ?? v;
|
const _verbose = verbose ?? v;
|
||||||
const query = args.join(" ");
|
const query = args.join(" ");
|
||||||
|
|
Loading…
Reference in a new issue