From 26a305ea8b199665812ac59114dbf4b97fa0e40b Mon Sep 17 00:00:00 2001 From: derpystuff <3515180-derpystuff@users.noreply.gitlab.com> Date: Sat, 15 Apr 2023 15:33:52 +0200 Subject: [PATCH] add icon support --- commands/message/search/wolfram-alpha.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/message/search/wolfram-alpha.js b/commands/message/search/wolfram-alpha.js index 346b70e..86229ca 100644 --- a/commands/message/search/wolfram-alpha.js +++ b/commands/message/search/wolfram-alpha.js @@ -28,6 +28,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 if(pod.value && pod.refs) { for(const r of pod.refs){