diff options
| author | 2020-10-01 19:52:46 +0530 | |
|---|---|---|
| committer | 2020-10-01 19:52:46 +0530 | |
| commit | f052fb9c629f080729bfdf9942b08983bb1fa613 (patch) | |
| tree | ddc088d0bc33067be950a4f805a5d67a2cb1d7f0 /bot/exts | |
| parent | changed line 64 logging to trace and in error description added date also (diff) | |
formated date and month of error in better way
Diffstat (limited to 'bot/exts')
| -rw-r--r-- | bot/exts/valentines/valentine_zodiac.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/valentines/valentine_zodiac.py b/bot/exts/valentines/valentine_zodiac.py index 29888bcf..36572729 100644 --- a/bot/exts/valentines/valentine_zodiac.py +++ b/bot/exts/valentines/valentine_zodiac.py @@ -45,7 +45,7 @@ class ValentineZodiac(commands.Cog): embed = discord.Embed() embed.color = Colours.soft_red error_comp = "\n".join( - f"`{i}` {name}: {zodiac['start_at'].date()} - {zodiac['end_at'].date()}" + f"`{i}` {name}: {zodiac['start_at'].strftime('%B `%d`')} - {zodiac['end_at'].strftime('%B `%d`')}" for i, (name, zodiac) in enumerate(sorted(self.zodiac_fact.items()), start=1) ) embed.description = ( |