What are the possible values for the weather such as Fair, Cloudy, Clear, Rainy etc.?
And how to return the weather for a predetermined location if !weather is entered with no city name and the named city if its used !weather London.( a similar question was there: Weather functionality)
I did as shown here: https://community.nightdev.com/t/need-help-with-weather-translation/33089:
I don’t know, I guess you can try to cover as much as possible, and if something shows as untranslated at some point then fix it? I know, not ideal, but I don’t really have another solution for you.
If you want to default to a place when no $(query) is specified, we usually do it like this:
This will give you the speed in m/s to a precision of 10^-1 while preventing endless values like 1/3 or 2/3 which would respectively give 0.333...3 and 0.666...6; if you want 10^-2 precision replace both 10 by 100.
Yes it does, but if you had anything but a number before the number it’d throw you an error, so it’s good practice to remove anything that could break the code.