Change from C to F
This commit is contained in:
parent
9a4a561179
commit
dadbb755c4
@ -15,7 +15,7 @@ module.exports = {
|
||||
const location = interaction.options.getString('location');
|
||||
|
||||
// Check if the image exists
|
||||
const imageUrl = `https://wttr.in/${encodeURIComponent(location)}.png`;
|
||||
const imageUrl = `https://wttr.in/${encodeURIComponent(location)}.png?u`;
|
||||
try {
|
||||
const response = await fetch(imageUrl);
|
||||
if (!response.ok) {
|
||||
|
Loading…
Reference in New Issue
Block a user