Move right parenthesis to the correct place
This commit is contained in:
parent
f5714cb90d
commit
5c80c5cd05
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ module.exports = {
|
|||
if(weather?.success){
|
||||
let tempInCelsius = weather.weather.match(tempRegex)[0];
|
||||
let tempInFahrenheit = Math.round(tempInCelsius * 1.8 + 32);
|
||||
weather.weather = weather.weather.replace("°C", `°C (${tempInFahrenheit})°F`)
|
||||
weather.weather = weather.weather.replace("°C", `°C (${tempInFahrenheit}°F)`)
|
||||
}
|
||||
message.channel.send(weather.weather);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue