mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 22:44:32 +02:00
Bugs
This commit is contained in:
@@ -40,7 +40,7 @@ module.exports = class ForecastCommand extends Command {
|
||||
.setTimestamp();
|
||||
for (let i = 0; i < 6; i++) {
|
||||
const forecast = data.item.forecast[i];
|
||||
embed.addField(`❯ ${forecast.day} - ${forecast.data}`,
|
||||
embed.addField(`❯ ${forecast.day} - ${forecast.date}`,
|
||||
stripIndents`
|
||||
**High**: ${forecast.high}°F
|
||||
**Low**: ${forecast.low}°F
|
||||
|
||||
@@ -46,7 +46,7 @@ module.exports = class WeatherCommand extends Command {
|
||||
.addField('❯ Condition',
|
||||
data.item.condition.text, true)
|
||||
.addField('❯ Temperature',
|
||||
`${data.item.condition.temp}°F`, true)
|
||||
`${data.item.condition.temp}°F`, true)
|
||||
.addField('❯ Humidity',
|
||||
data.atmosphere.humidity, true)
|
||||
.addField('❯ Pressure',
|
||||
|
||||
Reference in New Issue
Block a user