Simp-O-Matic

Dumb Discord bot in TS.
git clone git://git.knutsen.co/Simp-O-Matic
Log | Files | Refs | README | LICENSE

commit 1ad28e89f01fd305b1d31766de2c9869798e8f3f
parent d9a44f562d29493cef96b640ec1abb53fa95bd27
Author: Demonstrandum <moi@knutsen.co>
Date:   Sun,  2 Aug 2020 15:38:52 +0100

Use png (not svg) for thumbnail in weather command.

Diffstat:
Mlib/commands/weather.ts | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/commands/weather.ts b/lib/commands/weather.ts @@ -79,7 +79,7 @@ export default async (home_scope: HomeScope) => { +` ${geo_object.name},` +` ${geo_object.description}`) .setThumbnail( - `https://api.met.no/images/weathericons/svg/${properties.timeseries[0].data.next_1_hours.summary.symbol_code}.svg`) + `https://api.met.no/images/weathericons/png/${properties.timeseries[0].data.next_1_hours.summary.symbol_code}.png`) .addFields( { name: 'daytime', value: Math.max(...temps) + '°C',