Improve and add more usage of discord timestamps (#5241)

* Improve and add more usage of discord timestamps

* How did that whitespace get there?
This commit is contained in:
jack1142
2021-09-04 09:14:05 +02:00
committed by GitHub
parent 4366af6f6c
commit a0a433b13d
4 changed files with 5 additions and 5 deletions

View File

@@ -254,7 +254,7 @@ class General(commands.Cog):
Default to False.
"""
guild = ctx.guild
created_at = _("Created on <t:{0}:D>. That's <t:{0}:R>!").format(
created_at = _("Created on <t:{0}>. That's <t:{0}:R>!").format(
int(guild.created_at.replace(tzinfo=datetime.timezone.utc).timestamp()),
)
online = humanize_number(