made timestamp an int
This commit is contained in:
parent
5e1aa035da
commit
a7c8da9740
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ class Galaxy(commands.Cog):
|
|||
@commands.command()
|
||||
async def unix(self, ctx):
|
||||
"""Posts the current Unix timestamp."""
|
||||
timestamp = datetime.timestamp(datetime.now())
|
||||
timestamp = int(datetime.timestamp(datetime.now()))
|
||||
await ctx.send(timestamp)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue