fixed footer
This commit is contained in:
parent
cf04de6345
commit
756506bd25
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue