Simp-O-Matic

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

commit cb5b352ea2a05238015f99c15735c76ccfe117a1
parent 4e96e409da42f8d4f167c94373f03cdcb45c230e
Author: Bruno <b-coimbra@hotmail.com>
Date:   Mon, 23 Mar 2020 17:05:51 -0300

Update weather.ts
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 @@ -67,7 +67,7 @@ export default (home_scope: HomeScope) => { { name: 'nighttime', value: d.daily.data[0].temperatureLow + '°C', inline: true }, { name: 'humidity', value: d.currently.humidity + '%', inline: true}, { name: 'wind', value: `${directions[Math.round(d.currently.windBearing / 45) % 8]} ${d.currently.windSpeed}㎧`, inline: true }) - .setFooter('Powered by Dark Sky(R)'); + .setFooter('Powered by Dark Sky(R)') : new MessageEmbed().setTitle(`Cannot get weather information from ${location}.`) message.channel.send(embed);