Skip to content

Commit

Permalink
i broke radar lol
Browse files Browse the repository at this point in the history
  • Loading branch information
efitz11 committed Jul 21, 2020
1 parent 4003f2e commit 7302727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discordtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ async def radar(*query):
await bot.say("https://api.weather.com/v2/maps/dynamic?geocode=38.85,-76.95&h=600&w=800&lod=8&product=twcRadarMosaic&map=light&format=jpg&language=en&apiKey=d522aa97197fd864d36b418f39ebb323&a=0"
+ randstr)
else:
lat,lon = weathermodule.get_lat_lon('+'.join(query))
lat,lon,loc = weathermodule.get_lat_lon('+'.join(query))
lat,lon = (round(lat,1),round(lon,1))
await bot.say("https://api.weather.com/v2/maps/dynamic?geocode=%.2f,%.2f&h=600&w=800&lod=8&product=twcRadarMosaic&map=light&format=jpg&language=en&apiKey=d522aa97197fd864d36b418f39ebb323&a=0" % (lat,lon)
+ randstr)
Expand Down

0 comments on commit 7302727

Please sign in to comment.