fix(galaxy): fixed unix command formatting
All checks were successful
Pylint / Pylint (push) Successful in 1m8s

This commit is contained in:
Seaswimmer 2023-10-03 12:13:59 -04:00
parent 52e729d40b
commit 3c28df29bf
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -154,12 +154,12 @@ class Galaxy(commands.Cog):
timestamp = int(datetime.timestamp(datetime.now()))
embed=discord.Embed(title="Current Time", url="https://www.unixtimestamp.com/", color=await self.bot.get_embed_color(None))
embed.add_field(name="Default", value=f"<t:{timestamp}>\n`<t:{timestamp}>`")
embed.add_field(name="Relative Time", value=f"<t:{timestamp}:R>\n`<t:{timestamp}:R>`", inline=False)
embed.add_field(name="Relative Time", value=f"<t:{timestamp}:R>\n`<t:{timestamp}:R>`")
embed.add_field(name="Short Time", value=f"<t:{timestamp}:t>\n`<t:{timestamp}:t>`")
embed.add_field(name="Long Time", value=f"<t:{timestamp}:T>\n`<t:{timestamp}:T>`")
embed.add_field(name="Short Date/Time", value=f"<t:{timestamp}:f>\n`<t:{timestamp}:f>`")
embed.add_field(name="Short Date", value=f"<t:{timestamp}:d>\n`<t:{timestamp}:d>`")
embed.add_field(name="Long Date", value=f"<t:{timestamp}:D>\n`<t:{timestamp}:D>`")
embed.add_field(name="Short Date/Time", value=f"<t:{timestamp}:f>\n`<t:{timestamp}:f>`")
embed.add_field(name="Long Date/Time", value=f"<t:{timestamp}:F>\n`<t:{timestamp}:F>`")
embed.set_footer(text=f"{timestamp}")
await ctx.send(embed=embed)