mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 14:43:05 -04:00
fix wolfram
This commit is contained in:
parent
a55819304e
commit
0514ebcdcf
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ function createWolframPage(context, pod, query, sources){
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
if(pod.icon) res.embeds[0].author.iconUrl = pod.icon
|
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) {
|
if(pod.value && pod.refs) {
|
||||||
for(const r of pod.refs){
|
for(const r of pod.refs){
|
||||||
let src = getWolframSource(r, sources)
|
let src = getWolframSource(r, sources)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue