Change from C to F

This commit is contained in:
Raven Scott 2023-08-22 19:45:22 -04:00
parent 9a4a561179
commit dadbb755c4

View File

@ -15,7 +15,7 @@ module.exports = {
const location = interaction.options.getString('location'); const location = interaction.options.getString('location');
// Check if the image exists // Check if the image exists
const imageUrl = `https://wttr.in/${encodeURIComponent(location)}.png`; const imageUrl = `https://wttr.in/${encodeURIComponent(location)}.png?u`;
try { try {
const response = await fetch(imageUrl); const response = await fetch(imageUrl);
if (!response.ok) { if (!response.ok) {