aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/utilities/emoji.py
diff options
context:
space:
mode:
authorGravatar TizzySaurus <[email protected]>2021-10-14 22:34:41 +0100
committerGravatar GitHub <[email protected]>2021-10-14 22:34:41 +0100
commit4fd0acedd4b6f994ecb3299b93ea48115f61d785 (patch)
tree1bed49893eada22908fb93632bbfe88eaa6f00ed /bot/exts/utilities/emoji.py
parentChange pascal's triangle image (diff)
parentAdd support to query AoC results in respect of days and stars (#857) (diff)
Merge branch 'main' into fix-pascal-triangle-image
Diffstat (limited to 'bot/exts/utilities/emoji.py')
-rw-r--r--bot/exts/utilities/emoji.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/utilities/emoji.py b/bot/exts/utilities/emoji.py
index 55d6b8e9..83df39cc 100644
--- a/bot/exts/utilities/emoji.py
+++ b/bot/exts/utilities/emoji.py
@@ -107,8 +107,8 @@ class Emojis(commands.Cog):
title=f"Emoji Information: {emoji.name}",
description=textwrap.dedent(f"""
**Name:** {emoji.name}
- **Created:** {time_since(emoji.created_at, precision="hours")}
- **Date:** {datetime.strftime(emoji.created_at, "%d/%m/%Y")}
+ **Created:** {time_since(emoji.created_at.replace(tzinfo=None), precision="hours")}
+ **Date:** {datetime.strftime(emoji.created_at.replace(tzinfo=None), "%d/%m/%Y")}
**ID:** {emoji.id}
"""),
color=Color.blurple(),