aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Anubhav1603 <[email protected]>2020-09-26 15:46:51 +0530
committerGravatar Anubhav1603 <[email protected]>2020-09-26 15:46:51 +0530
commita1ce0df145e7a49762a9363f92aeae2e716463b1 (patch)
treecf9363cc13c621329a7a9c7a37d796cdbabfc0f5
parentfixed merge confict (diff)
fixed var name
-rw-r--r--bot/exts/valentines/valentine_zodiac.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/valentines/valentine_zodiac.py b/bot/exts/valentines/valentine_zodiac.py
index 1e746ed7..963d130d 100644
--- a/bot/exts/valentines/valentine_zodiac.py
+++ b/bot/exts/valentines/valentine_zodiac.py
@@ -86,7 +86,7 @@ class ValentineZodiac(commands.Cog):
except ValueError:
await ctx.send(f"Sorry, but `{month}` is wrong month name.")
return
- if (month == 1 and (1 <= date <= 19)) or (month == 12 and (22 <= date <= 31)):
+ if (month == 1 and (1 <= query_date <= 19)) or (month == 12 and (22 <= query_date <= 31)):
zodiac = "capricorn"
final_embed = self.zodiac_sign_verify(zodiac)
else: