misc.wolfram: add calc as alias

This commit is contained in:
Cynthia Foxwell 2023-01-20 12:20:48 -07:00
parent a7b68deedd
commit 5c3d649492

View file

@ -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(" ");