I’m looking to return the weather for a predetermined location if !weather is entered with no city name and the named city if its used !weather Detroit.
I can’t figure it out
I’m looking to return the weather for a predetermined location if !weather is entered with no city name and the named city if its used !weather Detroit.
I can’t figure it out
@brain_slugs Heya, welcome to the community. Try this:
!addcom -cd=5 !weather $(weather $(eval if (`$(query)` == ``) { `detroit` } else { `$(query)` }))
Regards
Ty, I’ll try that when I get home
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.