fixed footer

This commit is contained in:
SeaswimmerTheFsh 2023-02-28 03:45:26 -05:00
parent cf04de6345
commit 756506bd25

View file

@ -12,7 +12,8 @@ class Galaxy(commands.Cog):
async def unix(self, ctx):
"""Posts the current Unix timestamp."""
timestamp = int(datetime.timestamp(datetime.now()))
embed=discord.Embed(title="Current Time", color=await self.bot.get_embed_color(None), description=f"<t:{timestamp}>", footer=f"{timestamp}")
embed=discord.Embed(title="Current Time", color=await self.bot.get_embed_color(None), description=f"<t:{timestamp}>")
embed.set_footer(text=f"{timestamp}")
await ctx.send(embed=embed)