diff options
author | 2020-10-01 13:47:14 +0530 | |
---|---|---|
committer | 2020-10-01 13:47:14 +0530 | |
commit | 345ceba65872eab79bc28f34ef805cca91ce4cae (patch) | |
tree | f2fe1311b29d7d840f745cf7f3fef89243cc16ee /bot | |
parent | Merge branch 'partnerzodiac' of github.com:Anubhav1603/seasonalbot into partn... (diff) |
changed trace to info in except block
Diffstat (limited to 'bot')
-rw-r--r-- | bot/exts/valentines/valentine_zodiac.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/valentines/valentine_zodiac.py b/bot/exts/valentines/valentine_zodiac.py index 19cb10fc..433947a1 100644 --- a/bot/exts/valentines/valentine_zodiac.py +++ b/bot/exts/valentines/valentine_zodiac.py @@ -94,7 +94,7 @@ class ValentineZodiac(commands.Cog): month = month.capitalize() try: month = list(calendar.month_abbr).index(month[:3]) - log.info('Valid month name entered by user') + log.trace('Valid month name entered by user') except ValueError: log.info('Invalid month name entered by user') await ctx.send(f"Sorry, but `{month}` is not a valid month name.") @@ -105,7 +105,7 @@ class ValentineZodiac(commands.Cog): else: try: zodiac_sign_based_on_date = self.zodiac_date_verifier(datetime(2020, month, date)) - log.info("zodiac sign based on month and date received.") + log.trace("zodiac sign based on month and date received.") except ValueError as e: final_embed = discord.Embed() final_embed.color = Colours.soft_red |