Fix grammar in uptime command (#5596)

This commit is contained in:
TrustyJAID 2022-02-28 08:57:59 -07:00 committed by GitHub
parent 2ee64618af
commit 58d8cb4d1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -534,7 +534,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
uptime = self.bot.uptime.replace(tzinfo=datetime.timezone.utc) uptime = self.bot.uptime.replace(tzinfo=datetime.timezone.utc)
uptime_str = humanize_timedelta(timedelta=delta) or _("Less than one second.") uptime_str = humanize_timedelta(timedelta=delta) or _("Less than one second.")
await ctx.send( await ctx.send(
_("Been up for: **{time_quantity}** (since {timestamp})").format( _("I have been up for: **{time_quantity}** (since {timestamp})").format(
time_quantity=uptime_str, timestamp=f"<t:{int(uptime.timestamp())}:f>" time_quantity=uptime_str, timestamp=f"<t:{int(uptime.timestamp())}:f>"
) )
) )