From 9f7969987ec16e83660c5c9c1ee507d400f6adef Mon Sep 17 00:00:00 2001 From: Jan-Paul van Osta Date: Tue, 11 Aug 2020 20:11:14 +0200 Subject: [PATCH] bbq stuff --- Shitpost.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Shitpost.py b/Shitpost.py index 0c0a892..e7aa1d5 100644 --- a/Shitpost.py +++ b/Shitpost.py @@ -596,11 +596,9 @@ class Shitpost(commands.Cog): if float(weatherObj["d0neerslag"]) < 10: if weatherObj["image"] in ["regen", "buien", "bliksem", "hagel", "sneeuw", "halfbewolkt_regen"]: grade -= 2.0 - elif "regen" in weatherObj["verw"] or "buien" in weatherObj["verw"]: - grade -= 1.5 #remove points for very hot weather: (above 30) - grade -= max(0, (float(weatherObj["d0tmax"]) - 30.0)/3 ) + grade -= max(0, (float(weatherObj["d0tmax"]) - 30.0)/10 ) except: return -1.0