fix(galaxy): fixed newline characters in unix command
All checks were successful
Pylint / Pylint (push) Successful in 1m7s

This commit is contained in:
SeaswimmerTheFsh 2023-10-03 12:10:49 -04:00
parent d539d03b5f
commit a01a0026cb
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 5019678FD9CF50D8

View file

@ -153,14 +153,14 @@ class Galaxy(commands.Cog):
"""Posts the current Unix timestamp."""
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="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", 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.add_field(name="Relative Time", value=f"<t:{timestamp}:R>/n`<t:{timestamp}:R>`")
embed.add_field(name="Default", value=f"<t:{timestamp}>\n`<t:{timestamp}>`")
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", 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.add_field(name="Relative Time", value=f"<t:{timestamp}:R>\n`<t:{timestamp}:R>`")
embed.set_footer(text=f"{timestamp}")
await ctx.send(embed=embed)
await ctx.message.delete()