From 3b3d38c685b907d25a331a26ba43d9b150f08344 Mon Sep 17 00:00:00 2001 From: bignutty <3515180-bignutty@users.noreply.gitlab.com> Date: Wed, 17 Jul 2024 13:51:59 +0200 Subject: [PATCH] fix stringwrap --- commands/message/utils/weather.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/message/utils/weather.js b/commands/message/utils/weather.js index 83f29b1..8882568 100644 --- a/commands/message/utils/weather.js +++ b/commands/message/utils/weather.js @@ -2,7 +2,7 @@ const { darksky } = require('#api'); const { paginator } = require('#client'); const { createEmbed, page } = require('#utils/embed') -const { pill, iconPill, smallPill, weatherIcon, timestamp, icon, link} = require('#utils/markdown'); +const { pill, iconPill, smallPill, weatherIcon, timestamp, icon, link, stringwrap} = require('#utils/markdown'); const { editOrReply } = require('#utils/message') const { STATICS } = require('#utils/statics'); @@ -114,6 +114,7 @@ module.exports = { }] }); }catch(e){ + console.log(e) return editOrReply(context, createEmbed("warning", context, `No weather data available for given location.`)) } }