Skip to content

Commit

Permalink
🐐 🔵
Browse files Browse the repository at this point in the history
  • Loading branch information
franceking1 authored Mar 30, 2024
1 parent 0369546 commit 9137e5e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions commandes/weather.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,25 @@ if (!question) return repondre("Give me location...");
const cloudiness = data.clouds.all;
const sunrise = new Date(data.sys.sunrise * 1000);
const sunset = new Date(data.sys.sunset * 1000);


const country = (data.sys.country);

await repondre(`❄️ Weather in ${cityName}
🌡️ Temperature: ${temperature}°C
🌡️Temperature: ${temperature}°C
📝 Description: ${description}
❄️ Humidity: ${humidity}%
🌀 Wind Speed: ${windSpeed} m/s
🌧️ Rain Volume (last hour): ${rainVolume} mm
☁️ Cloudiness: ${cloudiness}%
🌄 Sunrise: ${sunrise.toLocaleTimeString()}
🌅 Sunset: ${sunset.toLocaleTimeString()}`);

🌅 Sunset: ${sunset.toLocaleTimeString()}
🗺 country: ${country}
°Powered by *FLASH-MD* `);





});
});

0 comments on commit 9137e5e

Please sign in to comment.