matches old unix command
This commit is contained in:
parent
a7c8da9740
commit
cf04de6345
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()))
|
||||
await ctx.send(timestamp)
|
||||
embed=discord.Embed(title="Current Time", color=await self.bot.get_embed_color(None), description=f"<t:{timestamp}>", footer=f"{timestamp}")
|
||||
await ctx.send(embed=embed)
|
||||
|
||||
|
||||
@commands.command()
|
||||
|
|
Loading…
Reference in a new issue