mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 06:42:51 +02:00
Fix
This commit is contained in:
@@ -48,7 +48,7 @@ module.exports = class WeatherCommand extends Command {
|
|||||||
.addField('❯ Condition', body.weather.map(data => `${data.main} (${data.description})`).join(', '))
|
.addField('❯ Condition', body.weather.map(data => `${data.main} (${data.description})`).join(', '))
|
||||||
.addField('❯ Temperature', `${body.main.temp}°F`, true)
|
.addField('❯ Temperature', `${body.main.temp}°F`, true)
|
||||||
.addField('❯ Humidity', `${body.main.humidity}%`, true)
|
.addField('❯ Humidity', `${body.main.humidity}%`, true)
|
||||||
.addField('❯ Wind Speed', `${body.wind.speed} mph`);
|
.addField('❯ Wind Speed', `${body.wind.speed} mph`, true);
|
||||||
return msg.embed(embed);
|
return msg.embed(embed);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
if (err.status === 404) return msg.say('Could not find any results.');
|
if (err.status === 404) return msg.say('Could not find any results.');
|
||||||
|
|||||||
Reference in New Issue
Block a user