fix wolfram

This commit is contained in:
derpystuff 2023-06-29 23:48:39 +02:00
parent a55819304e
commit 0514ebcdcf

View file

@ -31,7 +31,7 @@ function createWolframPage(context, pod, query, sources){
]
}
if(pod.icon) res.embeds[0].author.iconUrl = pod.icon
if(pod.value) res.embeds[0].description = pod.value.subst(0,1000)
if(pod.value) res.embeds[0].description = pod.value.substr(0,1000)
if(pod.value && pod.refs) {
for(const r of pod.refs){
let src = getWolframSource(r, sources)